Why can I not get my button_to to specify the create action of my controller rather than show
I have tried numerous times to add :action => "create" and other such things to the button_to parameters
<%= button_to "subscribe", subscription_path(feed_url: @feed.feed_url)%>
do I need to specify a create route in my routes.rb? if so how should I go about that?
When used the way that line is, I get this error on load:
Routing Error
No route matches {:action=>"show", :controller=>"subscriptions", :feed_url=>"http://foo.com/rss"}
in routes.rb I have this as the only reference to subscriptions.
resource :subscriptions