search for: folder_delet

Displaying 1 result from an estimated 1 matches for "folder_delet".

Did you mean: folder_delete
2008 May 19
4
REST urls and Authenticity Token
...he Authenticity Token. I''m using a RESTful aproach for my small project and everything worked fine untill I wanted to destroy a record. Lets say we have a listing of folder (a folder is just a record) and I want to destroy one by using this link: <%= link_to image_tag(''icons/folder_delete.png''), {:url => folder_path(folder.name) }, { :method => :delete, :title => ''Delete this folder'', :confirm => "All files and subfolders will be deleted!\nAre you sure?" } %> How come the form generated for this link doesn''t contain a Au...