bpocallaghan / laravel-admin-starter

A Laravel Admin Starter project with Page Builder, Roles, Impersonation, Analytics, Blog, News, Banners, FAQ, Testimonials and more
http://bpocallaghan.co.za
337 stars 92 forks source link

Admin General Namespace and User.php model @AkkuFresh #31

Closed bpocallaghan closed 6 years ago

bpocallaghan commented 6 years ago

There was some missing and improper declaration of the Admin/General controller group generating 'Missing Controller Class Error'.

To correct the issue: In the file: .../routes/web.php Change line 132 to Route::group(['prefix' => 'general', 'namespace' => 'General'], function () {

And correct the header all of the Admin/General controller group files. Proper namespace is for this group: namespace App\Http\Controllers\Admin\General;

And all of the controllers in this group should have a line before the starting Class declaration: use App\Http\Controllers\Admin\AdminController; Thanks