diff options
author | Louise Crow <louise.crow@gmail.com> | 2014-12-18 15:24:30 +0000 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2014-12-18 15:24:30 +0000 |
commit | 5cfcdaac505e60914ee4398cfe431bd5d21b58ed (patch) | |
tree | 43c2ce66dda3e291cf2dc1aa688a48b2dc5ef45a /config/routes.rb | |
parent | f0bbeb4abf4bf07e5cfb46668f39bbff72ed7210 (diff) | |
parent | 1d6acb2af8e3f4c4926f47f097466c5e2acdac68 (diff) |
Merge branch 'admin-public-holiday-interface' into rails-3-develop
Diffstat (limited to 'config/routes.rb')
-rw-r--r-- | config/routes.rb | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb index 4b2eb5695..2886c2846 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -200,6 +200,21 @@ Alaveteli::Application.routes.draw do end #### + #### AdminHoliday controller + scope '/admin', :as => 'admin' do + resources :holidays, + :controller => 'admin_holidays' + end + #### + + #### AdminHolidayImports controller + scope '/admin', :as => 'admin' do + resources :holiday_imports, + :controller => 'admin_holiday_imports', + :only => [:new, :create] + end + #### + #### AdminPublicBodyChangeRequest controller match '/admin/change_request/edit/:id' => 'admin_public_body_change_requests#edit', :as => :admin_change_request_edit match '/admin/change_request/update/:id' => 'admin_public_body_change_requests#update', :as => :admin_change_request_update |