12 lines
326 B
Text
12 lines
326 B
Text
|
|
= link_to "OSEM", root_path, :class => 'brand'
|
||
|
|
%ul.nav.pull-right
|
||
|
|
- if user_signed_in?
|
||
|
|
%li
|
||
|
|
= link_to('Logout', destroy_user_session_path, :method=>'delete')
|
||
|
|
- else
|
||
|
|
%li
|
||
|
|
= link_to('Login', new_user_session_path)
|
||
|
|
- if user_signed_in?
|
||
|
|
%li
|
||
|
|
= link_to('Edit account', edit_user_registration_path)
|