server/src/app/Http/routes.php
changeset 23 037687868bc4
parent 20 a9b98b16b053
child 28 b0b56e0f8c7f
equal deleted inserted replaced
22:a50cbd7d702f 23:037687868bc4
    36 */
    36 */
    37 
    37 
    38 Route::group(['prefix' => 'api/v1'] , function() {
    38 Route::group(['prefix' => 'api/v1'] , function() {
    39     Route::resource('documents', 'Api\DocumentController',
    39     Route::resource('documents', 'Api\DocumentController',
    40                     ['only' => ['index', 'show']]);
    40                     ['only' => ['index', 'show']]);
       
    41     Route::resource('viaf', 'Api\ViafController',
       
    42                     ['only' => ['show']]);
    41 });
    43 });