Displaying 1 result from an estimated 1 matches for "destroy_user_session_path".
2014 Mar 08
0
[Devise] redundant use of method: :delete while using destroy_user_session_path
While using devise I have to use
%li= link_to "Sign up", destroy_user_session_path, method: :delete
now that destroy_user_session_path should automatically default to delete
method because that's how it is defined in routes. Why is it generate links
to get method for default for given path?
--
You received this message because you are subscribed to the Google Groups "...