Ruby on Rails Sunday, March 30, 2014

Post your routes.rb file

On Saturday, March 29, 2014 1:02:45 PM UTC-4, Me wrote:
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@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/53ada596-02f9-4a06-8821-d6f7370daa58%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment