Forum

Ask, reply and learn. Join the community of Akaunting.

New Discussion

problem routing requests

Wisdom Oppong yeboah   ( User )

Commented 5 years ago

I have created a new resource controller, but the requests are not being handled somehow. Every time the request comes in, it gets redirected to the dashboard.


path to controller is Settings\Tests.php


Route::resource('say', 'Settings\Tests');

Denis Dulici   ( Admin )

Commented 5 years ago

If you're extending the "App\Http\Controllers\Controller" class then you'll need to create a Permission record and assign it to your Role first. Example: read-settings-tests

Wisdom Oppong yeboah   ( User )

Commented 5 years ago

Thanks Denis.

Please login or register to leave a response.

Showing 1 to 3 of 3 discussions