Displaying 1 result from an estimated 1 matches for "school_forum_topic_path".
2011 Mar 02
0
polymorphic_path not getting generated
...line with
<%= link_to t(:view), polymorphic_path([@forum_owner, forum,
forum.recent_topic], :page =>
forum.recent_post.topic.last_page, :anchor =>
forum.recent_post.dom_id) %>
@forum_owner and other variables are properly initialized. But this
gives the error --> undefined method `school_forum_topic_path'' for
#<ActionView::Base:0xaadcc08>
Apparently the school_forum_topic_path doesn''t get generated. How do I
make sure that school_forum_topic_path function call gets generated to
return the right path? In other words, how do you generate a
multilevel polymorphic path?
Savage...