In routes.rb I have this:
resources :presentations do
post "save_stuff", :on => :member
end
In PresentationsController I have this:
def save_stuff
...
end
And in my form I have this:
<%= form_for @presentation, :url => {:action => "save_stuff"}, :html =>
{:id => "presentationForm", :method => :post} do |f| %>
Yet when an attempt is made to render the above form I get this:
!! Unexpected error while processing request: No route matches
{:action=>"save_stuff", :controller=>"presentations"}
I have been struggling with this for hours, so I could use some help.
Thanks.