summaryrefslogtreecommitdiff
path: root/users/app/views/sessions/_nav.html.haml
blob: 5306d0e1da65f451b1a9b2cc08f6c72ae71ddea3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
- if logged_in?
  - if admin?
    %li.dropdown
      = render 'sessions/admin_nav'
  %li
    = link_to current_user.login, edit_user_path(current_user)
  %li
    = link_to t(:logout), logout_path
- else
  %li
    = link_to t(:login), login_path
  %li
    = link_to t(:signup), signup_path