I have this helper / link_to_remote link I am trying to switch from
destroy/delete to a separate method/action. Here is the original code.
link_to_remote image_tag('delete.png', :class =>
'png', :width=>'12', :height=>'12'), :url => profile_message_path(@p,
message), :method => :delete
Current path that produces looks like this
/profiles/1-username/messages/4
I need it to become
/profiles/1-username/messages/remove/4
I don't think I am understanding the api docs for this such as
profile_message_path to be able to figure out how to add another
method/action to that URL string. What should my code look like to get
that?