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

22 lines
679 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-10-08 08:47:56 +00:00
match 'cals/getMonthEvents' => 'cals#get_month_events', :via => :get
match 'cals/getWeekEvents' => 'cals#get_week_events', :via => :get
2012-10-24 10:55:06 +00:00
match 'cals/getDayEvents' => 'cals#get_day_events', :via => :get
2012-10-08 08:47:56 +00:00
2012-09-14 13:59:20 +00:00
resources :cals
resources :events
2012-11-01 02:45:22 +00:00
resources :tags
2012-08-29 12:13:41 +00:00
end
end
end
end