Hi Colin

That was an api call, so we cannot change the url.

regards,
Loganathan




On Fri, Jan 20, 2012 at 6:44 PM, Colin Law <[email protected]> wrote:

> On 20 January 2012 13:03, Tim Shaffer <[email protected]> wrote:
> > You have the  developer/:user_name/delete route set to use "delete" as
> the
> > method, rather than "get"
> >
> > Since browsers usually don't support sending requests other than post or
> > get, you'll need to pass a "_method=delete" parameter to that route
> >
> > Check out the rails guide on routing for more information:
> > http://guides.rubyonrails.org/routing.html#resources-on-the-web
>
> Also do not pass the user name but the id.
>
> Colin
>
> --
> 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.
>
>

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