Forums | Admin

Discussion Forums: help

Start New Thread Start New Thread
Message: 93864
BY: Admin Admin (kimberlygriggs)
DATE: 2010-06-11 23:39
SUBJECT: RE: Quiz module error in a la carte 1.4.5

 

OK. That makes a little more since. We're not using the quizzes in guides - only pages and tutorials, so it is apparently a little buggy.

ActionView::TemplateError (Need controller and action!) on line #7 of app/views/quiz/edit_question.html.erb:

This tells me that it's getting in to line 7 and can't resolve the if-then in a way that will result in a controller.

Line 7 if @page then 'page' elsif @tab then 'guide' end

So since your adding it to a guide it should read

if @page then 'page' elsif @guide then 'guide' end

I'll push out a fix.


Thread View

Thread Author Date
Quiz module error in a la carte 1.4.5David Lippert2010-06-04 22:16
      RE: Quiz module error in a la carte 1.4.5Admin Admin2010-06-10 16:37
            RE: Quiz module error in a la carte 1.4.5David Lippert2010-06-11 21:58
                  RE: Quiz module error in a la carte 1.4.5Admin Admin2010-06-11 23:39
                        RE: Quiz module error in a la carte 1.4.5Admin Admin2010-06-11 23:56
                              RE: Quiz module error in a la carte 1.4.5David Lippert2010-06-14 19:38
                                    RE: Quiz module error in a la carte 1.4.5David Lippert2010-06-14 22:17
                                    RE: Quiz module error in a la carte 1.4.5Admin Admin2010-06-14 23:21

Post a followup to this message