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
|
2013-02-05 10:49:27 +00:00
|
|
|
match 'conference_window' => 'conference_windows#conference_window'
|
2013-02-20 17:48:10 +00:00
|
|
|
match 'conference_type' => 'conference_pages#conference_type'
|
2013-02-20 18:33:53 +00:00
|
|
|
resources :conference_pages, except: :show
|
|
|
|
resources :conference_co_authors, except: :show
|
|
|
|
resources :conference_co_author_relations, except: :show
|
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
|