Show admin dropdown for admin-access ability (#515)

* Show admin dropdown for admin-access ability closes #509

* Formatting
This commit is contained in:
Nabeel S
2020-01-30 09:00:41 -05:00
committed by GitHub
parent e431f75ad4
commit ff913e5304
8 changed files with 251 additions and 235 deletions

View File

@@ -23,7 +23,7 @@ class UpdateServiceProvider extends ServiceProvider
Route::group([
'as' => 'update.',
'prefix' => 'update',
'middleware' => ['auth', 'ability:admin,admin-access', 'web'],
'middleware' => ['web', 'auth', 'ability:admin,admin-access'],
'namespace' => 'Modules\Updater\Http\Controllers',
], function () {
Route::get('/', 'UpdateController@index')->name('index');