Displaying 1 result from an estimated 1 matches for "invitation_path".
2008 Oct 18
0
Link_to + PUT + restful routes problem
Hi,
I''m trying to use link_to to access the Update action + add some extra
parameters. I''m using the default rest routes.
I can''t get it working.
When I use: <%= link_to '' Accept'', invitation_path, :method => :put, :id
=> ''1'', :command => ''accept'' %>
I can get into the Update action but the parameters are lost. The :id is
the of the logged in user instead of 1, and the :command parameter is
gone.
Processing InvitationsController#update (for 1...