AuthorizesResources not found

Posted 2 years ago by ross_muit

Can anyone help with this I'm going insane!

To try and get to the bottom of this i stripped it right down to this

Fresh install of larval via composer 5.2.23 has been installed.

I've made a controller with artisan with 1 method index

namespace App\Http\Controllers;

use App\Http\Controllers\Controller;

class TestController extends Controller { public function index() { return 'hello test'; } }

my route

Route::get('test', '[email protected]');

Trait 'Illuminate\Foundation\Auth\Access\AuthorizesResources' not found line 13 Controller.php

Ive done 3 fresh installs updating composer, changed versions, different routes... its always the same

Thanks for your help.

Please sign in or create an account to participate in this conversation.

Reply to

Use Markdown with GitHub-flavored code blocks.