On Feb 20, 10:13 pm, T <ber...@gmail.com> wrote: > I have a resource 'users'. the index page has a 'link_to' tag I > created on the line item level for a specific view. The link_to that > is frustrating me in particular says: <%= link_to 'View', :controller > => 'users', :action => 'view' %>
The best way would be to create named route however you can probably use url_for() for the job. You need to have globa routing turned on to make it working: link_to 'View', url_for(:controller => 'users', :action => 'view') Robert Pankowecki -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.