mirror of
https://github.com/cydrobolt/polr.git
synced 2024-11-09 11:42:28 +01:00
change 'admin' to admin_role
This commit is contained in:
parent
bc4c126383
commit
54fcfbb3f3
@ -12,7 +12,7 @@
|
||||
<li role='presentation' aria-controls="links" class='admin-nav-item'><a href='#links'>Links</a></li>
|
||||
<li role='presentation' aria-controls="settings" class='admin-nav-item'><a href='#settings'>Settings</a></li>
|
||||
|
||||
@if ($role == 'admin')
|
||||
@if ($role == $admin_role)
|
||||
<li role='presentation' class='admin-nav-item'><a href='#admin'>Admin</a></li>
|
||||
@endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user