Displaying 1 result from an estimated 1 matches for "content_new_faq_section".
2006 Nov 04
0
Question about named routes - getting "No url can be generated for the hash"
...;%= start_form_tag(:action => ''new_faq_section'') %>
I get the following error:
No url can be generated for the hash {:action=>"new_faq_section",
:controller=>"admin/content"}
I can get past this by using another named route, for example:
content.content_new_faq_section
''admin/content/faq/new_faq_section'', :action =>
''new_faq_section''
but I wanted to know why I can''t just use :action =>
''new_faq_section''.. When using named routes, does _every_ route have
to have a name? Can you not...