Fixing up the signin/signup pages
This commit is contained in:
parent
1d7670d74e
commit
1dddf00d96
13 changed files with 47 additions and 47 deletions
|
|
@ -20,10 +20,10 @@
|
|||
%ul.nav.pull-right
|
||||
- if user_signed_in?
|
||||
%li
|
||||
= link_to('Logout', destroy_user_session_path, :method=>'delete')
|
||||
= link_to('Sign Out', destroy_user_session_path, :method=>'delete')
|
||||
- else
|
||||
%li
|
||||
= link_to('Login', new_user_session_path)
|
||||
= link_to('Sign In', new_user_session_path)
|
||||
- if user_signed_in?
|
||||
%li
|
||||
= link_to('Edit account', edit_user_registration_path)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue