Forums | Admin

Discussion Forums: help

Start New Thread Start New Thread
Message: 93785
BY: David Lippert (dlippert)
DATE: 2010-06-04 22:16
SUBJECT: Quiz module error in a la carte 1.4.5

 

I am migrating from version 1.3 to 1.4.5, and am having problems getting the quiz module to work. When I try to edit a question in a quiz module I get the following error:

ActionController::RoutingError in Quiz#edit_question

Showing app/views/quiz/edit_question.html.erb where line #7 raised:

Need controller and action!

Extracted source (around line #7):

4: </h3>
5: <h4>
6: <%if @page || @guide%>
7: <%=link_to "Edit Content", :controller => if @page then 'page' elsif @tab then 'guide' end, :action =>'edit', :id => @page || @guide %> >> Edit <%=@mod.module_title%>
8: <%elsif @tutorial%>
9: <%=link_to "Units", :controller => 'unit', :action =>'units', :id => @tutorial %> >> Edit <%=@mod.module_title%>
10: <%else%>

RAILS_ROOT: /usr/local/alacarte

If anyone has any suggestions for fixing this, I would appreciate it.

Thanks,
David


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