I have a rails 4 app that has a link_to with a post method but I keep
getting:
No route matches [GET] "/payments/136330"
<%= link_to("Buy Now", buy_path(list_item), :method => :post)
%>
Ideas??
--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit
https://groups.google.com/d/msgid/rubyonrails-talk/c0f40a7c-0fb7-4d40-9d12-51cd8bb0cdd5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.