equal
deleted
inserted
replaced
33 |-------------------------------------------------------------------------- |
33 |-------------------------------------------------------------------------- |
34 | |
34 | |
35 | |
35 | |
36 */ |
36 */ |
37 |
37 |
38 Route::group(['prefix' => 'api/v1'] , function() { |
38 Route::group(['prefix' => 'api/v1', 'middleware' => 'cors'] , function() { |
39 Route::resource('documents', 'Api\DocumentController', |
39 Route::resource('documents', 'Api\DocumentController', |
40 ['only' => ['index', 'show', 'update']]); |
40 ['only' => ['index', 'show', 'update']]); |
41 Route::resource('viaf', 'Api\ViafController', |
41 Route::resource('viaf', 'Api\ViafController', |
42 ['only' => ['show']]); |
42 ['only' => ['show']]); |
43 Route::resource('lexvo', 'Api\LexvoController', |
43 Route::resource('lexvo', 'Api\LexvoController', |