In general it can be achieved using: link_to('Foo', {:controller => 'memberships', :group_id => 1, :user_id => 2}, :method => 'post')
I believe there's some shortcut when using the REST stuff, but I can't recall how it'd look now.
In general it can be achieved using: link_to('Foo', {:controller => 'memberships', :group_id => 1, :user_id => 2}, :method => 'post')
I believe there's some shortcut when using the REST stuff, but I can't recall how it'd look now.