equal
deleted
inserted
replaced
12 Route::group(['prefix' => 'v1'] , function() { |
12 Route::group(['prefix' => 'v1'] , function() { |
13 |
13 |
14 Route::pattern('id', ".*"); |
14 Route::pattern('id', ".*"); |
15 Route::get('documents/{id}/transcript', 'Api\DocumentController@transcript'); |
15 Route::get('documents/{id}/transcript', 'Api\DocumentController@transcript'); |
16 Route::resource('documents', 'Api\DocumentController', [ |
16 Route::resource('documents', 'Api\DocumentController', [ |
17 'only' => ['index', 'show', 'update'] |
17 'only' => ['index', 'show'] |
18 ]); |
18 ]); |
19 |
19 |
20 |
20 |
21 Route::group(['prefix' => 'resolvers'], function() { |
21 Route::group(['prefix' => 'resolvers'], function() { |
22 Route::get('viaf/{id}', 'Api\ViafController@show'); |
22 Route::get('viaf/{id}', 'Api\ViafController@show'); |