Displaying 1 result from an estimated 1 matches for "readility".
Did you mean:
readiblity
2006 Aug 01
2
restful controllers - howto nest with link_to?
...how to create something like a link to
/users/1/projects/3;edit with the view helpers. One could of course say that
I might directly link_to :controller => ''projects'', :action => ''edit'',
:user_id => user but I want to link to the full rest-url because of
readility reasons.
Something like <%= link_to ''Add Project'', :controller => ''users'', :action =>
"#{user.id}/projects/new" %> does what I want from a technical perspective,
but results in an encoded url (
http://localhost:3002/users/1%2Fprojects%2Fnew...