Lager-v3/resources/views/Partials/Pages/create_button.blade.php

8 lines
209 B
PHP

<div>
@can(Request::segment(1)."_create")
<a href="{{Route(Request::segment(1).".create")}}" class="btn btn-outline-success">
<i class="fa fa-plus"></i>
</a>
@endcan
</div>