Displaying 1 result from an estimated 1 matches for "edit_page_url".
2006 Aug 02
0
Simply RESTful deletion
Evening all! I''m playing around with the new Simply RESTful plugin, and
I''ve got a question about the *_url methods.
>From what I understand, given a Page model, there are three _url methods
provided:
- page_url
- new_page_url
- edit_page_url
I''m a bit disturbed that there are only three, but that aside...
To delete a resource, I would say:
link_to(''Delete'', page_url(:id => @page), :method => :delete)
And I now have a link that points to pages/1 with an attribute of
''delete.'' It ev...