Skip to content

Commit cb16869

Browse files
authored
fix: Shows manage button for admin_limited_access (#331)
1 parent 767715a commit cb16869

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/views/layouts/_header.html.haml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@
1010
= btn_link_to "Home", homepage_url
1111
.header-nav
1212
- if user_signed_in?
13-
- if current_user.admin?
13+
- if current_user.admin? or current_user.admin_limited_access?
1414
= btn_link_to "Manage", manage_root_path
1515
= btn_link_to "Sign Out", destroy_user_session_path, method: :delete

0 commit comments

Comments
 (0)