My question is that why link_to method does not default to DELETE method when passed link is destroy_user_session_path as we know from routes what it should use. I don't have problem passing method: :delete but it feels redundant. Also my bad. "Sign Up" should be "Sign out".
-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscr...@googlegroups.com. To post to this group, send email to rubyonrails-talk@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAGHQMcgWdTdXVtWYFc_dzFVhfk4p%2BMcxgsgZSonGwJJNOF8SZw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.