summaryrefslogtreecommitdiff
path: root/users/app/views/sessions/_nav.html.haml
blob: b73850467614b65d3469c309bdfbb35ab66256ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
- if logged_in?
  %li
    = 'logged in as ' + current_user.login
  %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