LaravelDaily / laravel-roles-permissions-bouncer

Laravel 6 adminpanel starter boilerplate project with roles-permissions based on Bouncer package.
172 stars 74 forks source link

ActionsTemplate #7

Open ghost opened 6 years ago

ghost commented 6 years ago

Hi, im starting to use laravel (and boucer), i looked over your code but i couldnt find how this works

https://github.com/LaravelDaily/laravel-roles-permissions-bouncer/blob/master/resources/views/actionsTemplate.blade.php

where does $gateKey and $routeKey are coming from?

im thinking in use this pattern for the abilities name: https://voyager.readme.io/docs/permissions

and i think i will need something like the actionstemplate, but i couldnt find where in the code you used it.