2012-09-24 06:10:44 +00:00
|
|
|
Rails.application.routes.draw do
|
|
|
|
|
|
|
|
namespace :panel do
|
|
|
|
namespace :personal_research do
|
2013-08-05 10:35:04 +00:00
|
|
|
namespace :desktop do
|
|
|
|
match "research_window" => "personal_researchs#research_window"
|
|
|
|
resources :personal_researchs
|
|
|
|
end
|
2012-09-24 06:10:44 +00:00
|
|
|
namespace :back_end do
|
|
|
|
|
|
|
|
match 'research_setting' => "researchs#research_setting" ,:as => :research_setting
|
|
|
|
|
|
|
|
resources :researchs do
|
|
|
|
collection do
|
|
|
|
get 'delete'
|
|
|
|
end
|
|
|
|
|
|
|
|
match "tag_quick_add" => "researchs#tag_quick_add" ,:as => :tag_quick_add
|
|
|
|
match "tag_quick_edit" => "researchs#tag_quick_edit" ,:as => :tag_quick_edit
|
|
|
|
end
|
|
|
|
|
|
|
|
resources :tags
|
|
|
|
end
|
|
|
|
namespace :front_end do
|
|
|
|
resources :researchs
|
|
|
|
end
|
|
|
|
namespace :plugin do
|
|
|
|
resources :researchs
|
|
|
|
end
|
|
|
|
namespace :widget do
|
|
|
|
match "researchs" => "researchs#index"
|
|
|
|
match "home_list" => "researchs#home_list"
|
|
|
|
match "reload_researchs" => "researchs#reload_researchs"
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
match "/appfront/*path" => redirect("/panel/*path")
|
|
|
|
|
|
|
|
end
|