clean tests & other things

This commit is contained in:
Romain committed 2020-03-25 20:11:29 +01:00
1 parent 11511039e9
commit 7e5d022aa2
27 files changed
+1497 -187

No files matched your search

+7
View File
@@ -11,6 +11,13 @@ use Symfony\Component\HttpFoundation\Response;
class UserController extends Controller
{
public function index()
{
$this->authorize('viewAny', User::class);
return UserResource::collection(User::all());
}
public function store()
{
$this->authorize('create', User::class);