On Sun, Feb 20, 2011 at 9:24 PM, Aldo Nievas <[email protected]> wrote:
> try calling it using:
> curl <domain>/items/:id/price.html or price.json as needed.
> format is needed when you call a route from outside without using named_path
> route.

That didn't work either, but I think that's because curl is requesting
a GET and the route is a POST.
I don't know what's going on. Everything seems to be in the right place.

-- 
Leonardo Mateo.
There's no place like ~

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to