diff options
author | Peter Kozak <spag@golwen.net> | 2013-04-19 10:16:18 +0200 |
---|---|---|
committer | Peter Kozak <spag@golwen.net> | 2013-04-19 10:16:18 +0200 |
commit | 439150418b31e3d1981c96e1dd4c277b07bd8a30 (patch) | |
tree | 0b7ad8bd03619b2418f0b7bd9d79bedb75b1d367 /config | |
parent | e266a3deb58d3a4c6798b09f2a1216447091f304 (diff) |
voicemail_messages routes
Diffstat (limited to 'config')
-rw-r--r-- | config/routes.rb | 21 |
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 |