Bug when user is anon

This commit is contained in:
Dan Elbert 2016-03-03 13:30:34 -06:00
parent 78dfa9120e
commit 7b8d065f20

View File

@ -15,6 +15,8 @@ module ApplicationHelper
if current_user && current_user.admin? if current_user && current_user.admin?
nav << nav_item('Admin', admin_users_path, 'admin/users') nav << nav_item('Admin', admin_users_path, 'admin/users')
end end
nav
end end
def profile_nav_items def profile_nav_items