diff options
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 |