Skip to content
This repository has been archived by the owner on May 3, 2022. It is now read-only.

@ifUserCan('product.create') - It doesn't work #2

Open
isclflores opened this issue Nov 10, 2017 · 1 comment
Open

@ifUserCan('product.create') - It doesn't work #2

isclflores opened this issue Nov 10, 2017 · 1 comment

Comments

@isclflores
Copy link

try

@ifUserCan('product.create')
    // show product create content
@endif

but It doesn't work

Note: I added role 'admin' and role_user also added 'pruduct.create' in the permissions table

@saahmadnejad
Copy link

It occurred probably for caching mechanism. please use php artisan cache:clear and test again.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants