summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Kozak <spag@golwen.net>2013-04-19 10:16:18 +0200
committerPeter Kozak <spag@golwen.net>2013-04-19 10:16:18 +0200
commit439150418b31e3d1981c96e1dd4c277b07bd8a30 (patch)
tree0b7ad8bd03619b2418f0b7bd9d79bedb75b1d367
parente266a3deb58d3a4c6798b09f2a1216447091f304 (diff)
voicemail_messages routes
-rw-r--r--config/routes.rb21
1 files changed, 10 insertions, 11 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 833eb20..14929db 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -15,6 +15,16 @@ Gemeinschaft42c::Application.routes.draw do
resources :voicemail_accounts do
resources :voicemail_settings
+ resources :voicemail_messages do
+ collection do
+ delete 'destroy_multiple'
+ end
+ member do
+ put 'call'
+ put 'mark_read'
+ put 'mark_unread'
+ end
+ end
end
resources :switchboards do
@@ -303,17 +313,6 @@ Gemeinschaft42c::Application.routes.draw do
put 'call'
end
end
- resources :voicemail_messages do
- collection do
- delete 'destroy_multiple'
- end
- member do
- put 'call'
- put 'mark_read'
- put 'mark_unread'
- end
- end
- resources :voicemail_settings
resources :voicemail_accounts
end