login: add /login & /logout routes, rename 'sign in' to 'login'.
* Replace /session/new with /login and /session/sign_out with /logout. * Rename 'sign in' to 'login'. This changes are to make urls cleaner and terminology more consistent.
This commit is contained in:
@@ -34,6 +34,6 @@
|
||||
<% end %>
|
||||
|
||||
<li>|</li>
|
||||
<%= subnav_link_to "Sign out", sign_out_session_path %>
|
||||
<%= subnav_link_to "Log out", logout_path %>
|
||||
<% end %>
|
||||
<% end %>
|
||||
|
||||
Reference in New Issue
Block a user