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

14 lines
323 B
Ruby

Rails.application.routes.draw do
namespace :panel do
namespace :orbitcalendar do
namespace :back_end do
match '/calendar(/:year(/:month))' => 'calendar#index', :as => :calendar, :constraints => {:year => /\d{4}/, :month => /\d{1,2}/}
resources :calendar_categories
end
end
end
end