FEATURE #2047: use laravel's authorization

This commit is contained in:
Michal Kváček
2017-08-02 13:33:26 +02:00
parent 67fb3c6945
commit a4c020daa0
60 changed files with 1357 additions and 50 deletions
+1 -10
View File
@@ -14,15 +14,6 @@ class RouteServiceProvider extends ServiceProvider
*/
protected $namespace = 'App\Http\Controllers';
/**
* Define your route model bindings, pattern filters, etc.
* @return void
*/
public function boot()
{
parent::boot();
}
/**
* Define the routes for the application.
* @return void
@@ -41,6 +32,6 @@ class RouteServiceProvider extends ServiceProvider
{
Route::namespace($this->namespace)
->middleware('web')
->group(app_path('Http/routes.php'));
->group(base_path('routes/web.php'));
}
}