| 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 | |