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