Skip to content

Commit

Permalink
dialog width 1236px
Browse files Browse the repository at this point in the history
  • Loading branch information
bigrocs committed Jan 26, 2018
1 parent a70566c commit ece0e74
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 11 deletions.
1 change: 1 addition & 0 deletions src/App/Listeners/StorageEventSubscriber.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ public function onBuilderTablePackage($event)
'apiUrl'=> route('api.storage.config.index'),
'type'=>'info',
'icon'=>'fa fa-edit',
'width'=> '1236px',
'method'=>'dialog'
]
];
Expand Down
22 changes: 11 additions & 11 deletions src/Routes/api.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@
|--------------------------------------------------------------------------
*/
Route::group(['prefix' => 'storage', 'as' => 'storage.', 'middleware' => ['auth:api','adminRole']], function () {
Route::group(['prefix' => 'config', 'as' => 'config.'], function () {
Route::post('/', ['as' => 'index', 'uses' => 'ConfigController@index']);
Route::post('status', ['as' => 'status', 'uses' => 'ConfigController@status']);
Route::post('delete', ['as' => 'delete', 'uses' => 'ConfigController@delete']);
Route::post('add', ['as' => 'add', 'uses' => 'ConfigController@add']);
Route::post('store', ['as' => 'store', 'uses' => 'ConfigController@store']);
Route::post('edit', ['as' => 'edit', 'uses' => 'ConfigController@edit']);
Route::post('update', ['as' => 'update', 'uses' => 'ConfigController@update']);
Route::post('check', ['as' => 'check', 'uses' => 'ConfigController@check']);
});
});
Route::group(['prefix' => 'config', 'as' => 'config.'], function () {
Route::post('/', ['as' => 'index', 'uses' => 'ConfigController@index']);
Route::post('status', ['as' => 'status', 'uses' => 'ConfigController@status']);
Route::post('delete', ['as' => 'delete', 'uses' => 'ConfigController@delete']);
Route::post('add', ['as' => 'add', 'uses' => 'ConfigController@add']);
Route::post('store', ['as' => 'store', 'uses' => 'ConfigController@store']);
Route::post('edit', ['as' => 'edit', 'uses' => 'ConfigController@edit']);
Route::post('update', ['as' => 'update', 'uses' => 'ConfigController@update']);
Route::post('check', ['as' => 'check', 'uses' => 'ConfigController@check']);
});
});
});

0 comments on commit ece0e74

Please sign in to comment.