Orbit/vendor/built_in_modules/calendar/config/routes.rb

19 lines
507 B
Ruby

Rails.application.routes.draw do
namespace :panel do
namespace :calendar do
namespace :back_end do
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
match 'cals/getEvents' => 'cals#get_events', :via => :get
resources :cals
resources :events
end
end
end
end