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

41 lines
1.6 KiB
Ruby
Raw Normal View History

2013-01-23 10:35:00 +00:00
Rails.application.routes.draw do
namespace :panel do
namespace :personal_conference do
2013-01-24 10:25:09 +00:00
namespace :desktop do
match 'conference_window' => 'conference_windows#conference_window'
resources :conference_pages
2013-01-24 10:25:09 +00:00
end
2013-01-23 10:35:00 +00:00
namespace :back_end do
match 'writing_conference_setting' => "writing_conferences#writing_conference_setting" ,:as => :writing_conference_setting
resources :writing_conferences do
collection do
get 'delete'
end
match "author_type_quick_add" => "writing_conferences#author_type_quick_add" ,:as => :author_type_quick_add
match "author_type_quick_edit" => "writing_conferences#author_type_quick_edit" ,:as => :author_type_quick_edit
match "paper_type_quick_add" => "writing_conferences#paper_type_quick_add" ,:as => :paper_type_quick_add
match "paper_type_quick_edit" => "writing_conferences#paper_type_quick_edit" ,:as => :paper_type_quick_edit
end
resources :conference_paper_types
resources :conference_author_types
# resources :conference_level_types
resources :tags
end
namespace :front_end do
resources :writing_conferences
end
namespace :plugin do
resources :writing_conferences
end
namespace :widget do
match "writing_conferences" => "writing_conferences#index"
match "home_list" => "writing_conferences#home_list"
match "reload_writing_conferences" => "writing_conferences#reload_writing_conferences"
end
end
end
match "/appfront/*path" => redirect("/panel/*path")
end