linking around in Ruby on Rails

how to create a link to a different controller (in a page “view”)

<%= link_to "VisibleName", :controller => 'post', :action => 'show', :id => @post.id

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload the CAPTCHA.