1
0
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:
Serdar Hazar 2016-10-02 03:15:18 +03:00
parent bc4c126383
commit 54fcfbb3f3

View File

@ -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