FEATURE #2048: prepare routes for ACL, add some more permissions
This commit is contained in:
@@ -33,7 +33,9 @@
|
||||
@endforeach
|
||||
</ul>
|
||||
|
||||
<a href="{{route('content.edit', ['id' => $page->id])}}" class="btn btn-primary">
|
||||
@lang('admin/history.backToEdit')
|
||||
</a>
|
||||
@can('update', $page)
|
||||
<a href="{{route('content.edit', ['id' => $page->id])}}" class="btn btn-primary">
|
||||
@lang('admin/history.backToEdit')
|
||||
</a>
|
||||
@endcan
|
||||
@stop
|
||||
Reference in New Issue
Block a user