diff options
author | elijah <elijah@riseup.net> | 2016-01-10 16:27:49 -0800 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2016-01-10 16:27:49 -0800 |
commit | 854746e247a1a05ebbfe59ba3ccac99d1c75ed51 (patch) | |
tree | 260ba4028c219abf677af4e61363e7daab65249d /app/views/layouts/_navigation.html.haml | |
parent | c678806489cbe7d63d3946de1265697c7fb996e6 (diff) |
highlight admin areas with caution tape (wip)
Diffstat (limited to 'app/views/layouts/_navigation.html.haml')
-rw-r--r-- | app/views/layouts/_navigation.html.haml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/views/layouts/_navigation.html.haml b/app/views/layouts/_navigation.html.haml index 63a361a..b468fe8 100644 --- a/app/views/layouts/_navigation.html.haml +++ b/app/views/layouts/_navigation.html.haml @@ -11,4 +11,5 @@ active: (controller?(:donations) and action?(:new)) = link_to_navigation :subscriptions, billing_top_link(@braintree_customer_id), active: controller?(:subscriptions) - = link_to_navigation :logout, logout_path, method: :delete + - unless admin? + = link_to_navigation :logout, logout_path, method: :delete |