Push pack services and fix for failing tests

This commit is contained in:
Dane Everitt 2017-08-20 19:23:50 -05:00
parent 280633b28a
commit cdfbc60030
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
21 changed files with 415 additions and 378 deletions

View file

@ -200,9 +200,12 @@ Route::group(['prefix' => 'packs'], function () {
Route::get('/', 'PackController@index')->name('admin.packs');
Route::get('/new', 'PackController@create')->name('admin.packs.new');
Route::get('/new/template', 'PackController@newTemplate')->name('admin.packs.new.template');
Route::get('/view/{id}', 'PackController@view')->name('admin.packs.view');
Route::get('/view/{pack}', 'PackController@view')->name('admin.packs.view');
Route::post('/new', 'PackController@store');
Route::post('/view/{id}', 'PackController@update');
Route::post('/view/{id}/export/{files?}', 'PackController@export')->name('admin.packs.view.export');
Route::post('/view/{pack}/export/{files?}', 'PackController@export')->name('admin.packs.view.export');
Route::patch('/view/{pack}', 'PackController@update');
Route::delete('/view/{pack}', 'PackController@destroy');
});