Begin implementation of services for services/service options

This commit is contained in:
Dane Everitt
2017-08-08 23:24:55 -05:00
parent 7277f728a9
commit 2c77d5c44d
21 changed files with 567 additions and 408 deletions

View File

@@ -176,11 +176,12 @@ Route::group(['prefix' => 'services'], function () {
Route::post('/new', 'ServiceController@store');
Route::post('/view/{option}', 'ServiceController@edit');
Route::post('/option/new', 'OptionController@store');
Route::post('/option/{option}', 'OptionController@editConfiguration');
Route::post('/option/{option}/scripts', 'OptionController@updateScripts');
Route::post('/option/{option}/variables', 'OptionController@createVariable');
Route::post('/option/{option}/variables/{variable}', 'OptionController@editVariable')->name('admin.services.option.variables.edit');
Route::patch('/option/{option}', 'OptionController@editConfiguration');
Route::delete('/view/{id}', 'ServiceController@delete');
});