diff options
-rw-r--r-- | config/routes.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb index 1fb9d7a..3d73b76 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -1,4 +1,5 @@ Gemeinschaft42c::Application.routes.draw do + namespace :api, defaults: {format: 'json'} do namespace :v1 do resources :switchboards, :only => [:show, :index] @@ -10,6 +11,8 @@ Gemeinschaft42c::Application.routes.draw do resources :rows end + resources :generic_files + resources :voicemail_accounts do resources :voicemail_settings end @@ -238,6 +241,7 @@ Gemeinschaft42c::Application.routes.draw do get :display end resources :voicemail_accounts + resources :generic_files end resources :user_groups do |