I am doing the following:
link_to “delete my avatar”, user_pictures_path(:user_id => @user, :id =>
user.pictures.last), :method => :delete
and it is creating the following link:
- shouldn’t it create the following URL?
i.e. not the ?id=10 but just /10?
- Is there a cleaner way of building the url?