Hi,
Can you copy your full routes.rb, I believe you should place the route at before the route
"resources :payment"
Regards,
Logan
Sent from mobile device
> --
> 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-ta...@googlegroups.com.
> To post to this group, send email to rubyonra...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/21350ab3-a33d-41cb-9061-e103db36b31b%40googlegroups.com.
>
> For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/rubyonrails-talk/3kI7VkfKp4Q/unsubscribe.
To unsubscribe from this group and all its topics, send an email to rubyonrails-ta...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAD_i5MEUqTeM9YMdJCJKUL9Sa9MmCVmtT6ka2smS2TtNtooNZA%40mail.gmail.com.
--
You received this message because you are subscribed to a topic in the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/rubyonrails-talk/3kI7VkfKp4Q/unsubscribe.
To unsubscribe from this group and all its topics, send an email to rubyonrails-ta...@googlegroups.com.
To post to this group, send email to rubyonra...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/70d6b54d-d843-4d46-a7a1-3381774cb5ca%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/1DBA70D4-46B2-426B-95CF-B536CB6D3143%40wdstudio.com.
For more options, visit https://groups.google.com/d/optout.
Thanks, here is the link generated, <a data-method="post" href="/list_items/136298/buy" rel="nofollow">Buy Now</a>
--
You received this message because you are subscribed to a topic in the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/rubyonrails-talk/3kI7VkfKp4Q/unsubscribe.
To unsubscribe from this group and all its topics, send an email to rubyonrails-ta...@googlegroups.com.
To post to this group, send email to rubyonra...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/9a744c1b-ef18-4442-a7e1-a55513c4e4eb%40googlegroups.com.
The one I posted was a slightly different one but still gives me the same error. It does not seem to recognize the link is a 'POST" even though the actual link on the page is a post.
No route matches [GET] "/list_items/136327/buy"
The action 'buy' is in the liat_items_controller.
On Sun, Apr 6, 2014 at 4:16 PM, Frederick Cheung <frederic...@gmail.com> wrote:
On Sunday, April 6, 2014 7:29:56 PM UTC+1, Me wrote:Thanks, here is the link generated, <a data-method="post" href="/list_items/136298/buy" rel="nofollow">Buy Now</a>That's not the same url as the once mentioned in the error. Is the post request completing OK and then redirecting to a non-existent url?Fred
--
You received this message because you are subscribed to a topic in the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/rubyonrails-talk/3kI7VkfKp4Q/unsubscribe.
To unsubscribe from this group and all its topics, 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/9a744c1b-ef18-4442-a7e1-a55513c4e4eb%40googlegroups.com.