<%= link_to 'Edit', edit_order_path(@order) %>
Is it possible to wire this link to the modify action of the Orders controller (instead of the edit action) without changing this syntax:
edit_order_path(@order)
<%= link_to 'Edit', edit_order_path(@order) %>
Is it possible to wire this link to the modify action of the Orders controller (instead of the edit action) without changing this syntax:
edit_order_path(@order)
routes.rb:
map.edit_order "order/modify/:id" ,
:controller => "order" ,
:action => "modify" ,
:id => /\d+/