summaryrefslogtreecommitdiff
path: root/users/app/views/sessions/_nav.html.haml
blob: 398a79474ce1e293435303c547c5b34b51f20b73 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
but - 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