2011/6/15 Colin Law <[email protected]>

> Right, so you can see that the routes you want are not there.  As you
> can see, the update route requires an id for the portal, so it knows
> which portal to update, and you have not provided that in your url.
>
> Colin
>
> Are you sure?
I see that I send the ID both for get and post.
With GET i put this in the browser:
http://localhost:3000/admin/accounts/133/portals/update

And the log shows that I requested a GET, and there are no routes error.

But from CURL I get route error:

Started POST "/admin/accounts/133/portals/update" for 127.0.0.1 at Wed Jun
15 11:06:50 +0200 2011

ActionController::RoutingError (No route matches
"/admin/accounts/133/portals/update"):

But you can see that the ID was there:
/admin/accounts/133/portals/update

-- 
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