[routes] in "#destroy" send parameters in a json

16 views
Skip to first unread message

Diego b

unread,
Apr 24, 2015, 4:41:52 AM4/24/15
to rubyonra...@googlegroups.com
in destry route: how to send parameters in a json
want a route to:
- Call "delete: destroy, {another_param:" myPara "format: 'json'}"

Colin Law

unread,
Apr 24, 2015, 4:53:07 AM4/24/15
to rubyonra...@googlegroups.com
It is not clear what it is that you do not know how to do. Is it how
to post json with a delete request (which is nothing to do with
routes).

Colin

>
> --
> 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/33c3f348-cedf-442c-a21d-3bb4ab7e761f%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages