blob: 204ba8833b279b9a51efa1db1a90c7199b43359e (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
- if logged_in?
%li
= 'logged in as ' + current_user.login
= link_to t(:logout), logout_path
- if admin?
= 'ADMIN' # obviously not like this
- else
%li
= link_to t(:login), login_path
%li
= link_to t(:signup), signup_path
|