Skip to content

How to connect with shield? #113

Answered by kigathi-chege
kud0h asked this question in Q&A
Discussion options

You must be logged in to vote

@kud0h

I found the solution. Put this in the boot method of your AppServiceProvider

Gate::policy(Activity::class, ActivityPolicy::class);

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@marcosmarcolin
Comment options

Answer selected by kud0h
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants