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:
evazion
2019-12-14 15:20:11 -06:00
parent 7f08300f56
commit 48e0569832
10 changed files with 15 additions and 13 deletions

View File

@@ -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 %>