diff options
Diffstat (limited to 'config/routes.rb')
| -rw-r--r-- | config/routes.rb | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb index f83f4771c..af466f640 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -72,6 +72,12 @@ ChouetteIhm::Application.routes.draw do end end + # Archive/unarchive + member do + put :archive + put :unarchive + end + resources :networks match 'lines' => 'lines#destroy_all', :via => :delete @@ -200,4 +206,4 @@ ChouetteIhm::Application.routes.draw do get '/422', :to => 'errors#server_error' get '/500', :to => 'errors#server_error' -end +end
\ No newline at end of file |
