Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -# Our Edit link from previous example:
- = link_to 'Edit info', edit_movie_path(@movie)
- -# You might think to try this for Delete, but it won't work:
- = link_to 'Delete', movie_path(@movie), :method => :delete
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement