Skip to content


Linking to other controllers

Hope this helps someone save some time, but that might be a hard to do, since you really don’t waste time when programming with Ruby :)

To link to another controller from a different controllers view you can use:
<%= link_to 'Accounts', :controller => 'accounts' %>

Posted in Ruby.


0 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.



Some HTML is OK

or, reply to this post via trackback.