We were talking about Laravel 5 on its release, we are pleased today to welcome Laravel 5.1
While in policy class I have
public function create(User $user) { return true; }
but I get unauthorized error for unauthenticated users.
So how can I exclude the store method from authorization in authorizeResource?
Aucun commentaire:
Enregistrer un commentaire