equal
deleted
inserted
replaced
39 | |
39 | |
40 */ |
40 */ |
41 |
41 |
42 Route::group(['prefix' => 'api/v1', 'middleware' => 'cors'] , function() { |
42 Route::group(['prefix' => 'api/v1', 'middleware' => 'cors'] , function() { |
43 Route::pattern('documents', ".*"); |
43 Route::pattern('documents', ".*"); |
|
44 |
|
45 Route::get('documents/{id}/transcript', 'Api\DocumentController@transcript'); |
44 Route::resource('documents', 'Api\DocumentController', |
46 Route::resource('documents', 'Api\DocumentController', |
45 ['only' => ['index', 'show', 'update']]); |
47 ['only' => ['index', 'show', 'update']]); |
46 Route::resource('viaf', 'Api\ViafController', |
48 Route::resource('viaf', 'Api\ViafController', |
47 ['only' => ['show']]); |
49 ['only' => ['show']]); |
48 Route::resource('lexvo', 'Api\LexvoController', |
50 Route::resource('lexvo', 'Api\LexvoController', |