Displaying 1 result from an estimated 1 matches for "forum_url_nam".
Did you mean:
forum_url_name
2005 Oct 15
0
Making link_to use the routes I define
Hi,
In my rails application I have a controller (message) that handles all
top-level directory requests, and maps it to a list view.
How can I use link_to to link to the URLs generated by this route?
map.connect '':forum_url_name/'', :controller => ''messages'', :action => ''list''
Then I have a (forum) controller that lists all its record on its list
action. Currently this is what I do:
<%= link_to forum.name, ''/'' + forum.url_name %>
Obviously that&...