Displaying 1 result from an estimated 1 matches for "profile_message_path".
2008 Apr 21
1
link_to_remote / url path question
.../ 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...