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

19 lines
507 B
Ruby
Raw Normal View History

2012-08-29 12:13:41 +00:00
Rails.application.routes.draw do
namespace :panel do
2012-09-14 07:20:01 +00:00
namespace :calendar do
2012-08-29 12:13:41 +00:00
namespace :back_end do
2012-09-14 07:20:01 +00:00
match 'cals/agenda_view' => 'cals#agenda_view', :via => :get
match 'cals/month_view' => 'cals#month_view', :via => :get
match 'cals/day_view' => 'cals#day_view', :via => :get
match 'cals/week_view' => 'cals#week_view', :via => :get
2012-09-16 20:34:03 +00:00
match 'cals/getEvents' => 'cals#get_events', :via => :get
2012-09-14 13:59:20 +00:00
resources :cals
resources :events
2012-08-29 12:13:41 +00:00
end
end
end
end