orbit-basic/vendor/built_in_modules/calendar/config/routes.rb

14 lines
323 B
Ruby
Raw Normal View History

2012-08-29 12:13:41 +00:00
Rails.application.routes.draw do
namespace :panel do
2012-09-12 06:20:32 +00:00
namespace :orbitcalendar do
2012-08-29 12:13:41 +00:00
namespace :back_end do
2012-09-12 06:20:32 +00:00
match '/calendar(/:year(/:month))' => 'calendar#index', :as => :calendar, :constraints => {:year => /\d{4}/, :month => /\d{1,2}/}
2012-09-10 06:44:21 +00:00
resources :calendar_categories
2012-08-29 12:13:41 +00:00
end
end
end
end