Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -391,6 +391,11 @@ Three directives are available for use within your Blade templates. What you giv
@role('admin')
<p>This is visible to users with the admin role. Gets translated to
\Entrust::role('admin')</p>
@elseifrole('staff')
<p>This is visible to users with the staff role. Gets translated to
\Entrust::role('staff')</p>
@elserole
<p>This is visible to all the other roles./p>
@endrole

@permission('manage-admins')
Expand Down
Loading