summaryrefslogtreecommitdiff
path: root/config/routes.rb
diff options
context:
space:
mode:
authorPeter Kozak <spag@golwen.net>2013-04-11 10:52:43 +0200
committerPeter Kozak <spag@golwen.net>2013-04-11 10:52:43 +0200
commitfe5f68796051261bb1da497c1a5bb07c8d2914ee (patch)
treecdcb427ed353ed7d089ccf596eab85d94e1fb977 /config/routes.rb
parentea80c69be9749d15cad1b74253f3e5397466f4ad (diff)
generic_files routes added
Diffstat (limited to 'config/routes.rb')
-rw-r--r--config/routes.rb4
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