summaryrefslogtreecommitdiff
path: root/users/app/views/sessions/_nav.html.haml
blob: ac85bb5f330a92c75abb0ee9cf9c4cd7f7a33a8c (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, :method => :delete
- else
  %li
    = link_to t(:login), login_path
  %li
    = link_to t(:signup), signup_path