diff --git a/README.md b/README.md index 4505ee2..075ba36 100644 --- a/README.md +++ b/README.md @@ -49,7 +49,7 @@ $app->register(\Rap2hpoutre\LaravelLogViewer\LaravelLogViewerServiceProvider::cl Explicitly set the namespace in `app/Http/routes.php`: ```php -$router->group(['namespace' => '\Rap2hpoutre\LaravelLogViewer'], function() use ($router) { +$router->group(['namespace' => '\Rap2hpoutre\Controllers'], function() use ($router) { $router->get('logs', 'LogViewerController@index'); }); ``` diff --git a/src/controllers/BaseController.php b/src/controllers/BaseController.php new file mode 100644 index 0000000..37e1ef6 --- /dev/null +++ b/src/controllers/BaseController.php @@ -0,0 +1,9 @@ +