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

18 lines
525 B
Ruby
Raw Normal View History

2013-07-15 09:54:15 +00:00
Rails.application.routes.draw do
namespace :panel do
namespace :calendar_new do
namespace :back_end do
match 'event_categories/list' => "event_categories#list"
2013-07-15 09:54:15 +00:00
resources :event_categories
match 'events/agenda' => 'events#agenda', :as => :agenda
2013-07-15 09:54:15 +00:00
resources :events
end
2013-11-04 15:02:01 +00:00
namespace :front_end do
match 'events/agenda' => 'events#agenda', :as => :agenda
resources :events, except: [:new, :edit, :update, :destroy]
end
2013-07-15 09:54:15 +00:00
end
end
end