I am trying to perform this task:
-
-click on an image
-perform a task in current view/controller (ie NOT in /home)
-end up on a different page (view, in this case /home)
link_to image_tag("button.gif"), "/home",
:action => 'delete_something' ,
:confirm => 'Are you sure?',
:method => :delete
Thanks for any help.