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

44 lines
1.4 KiB
Ruby
Raw Normal View History

2012-09-24 06:10:44 +00:00
Rails.application.routes.draw do
namespace :panel do
namespace :personal_patent do
2013-08-05 10:35:04 +00:00
namespace :desktop do
match "patent_window" => "personal_patents#patent_window"
resources :personal_patents
2013-09-25 10:11:02 +00:00
resources :plugin_intros
2013-08-05 10:35:04 +00:00
end
2012-09-24 06:10:44 +00:00
namespace :back_end do
match 'writing_patent_setting' => "writing_patents#writing_patent_setting" ,:as => :writing_patent_setting
resources :writing_patents do
collection do
get 'delete'
get 'data_share'
2012-09-24 06:10:44 +00:00
end
match "writing_patent_category_quick_add" => "writing_patents#writing_patent_category_quick_add" ,:as => :writing_patent_category_quick_add
match "writing_patent_category_quick_edit" => "writing_patents#writing_patent_category_quick_edit" ,:as => :writing_patent_category_quick_edit
end
resources :personal_patent_intros
resources :writing_patent_categorys
2012-09-24 06:10:44 +00:00
resources :tags
end
namespace :front_end do
resources :writing_patents
end
namespace :plugin do
resources :writing_patents
end
namespace :widget do
match "writing_patents" => "writing_patents#index"
match "home_list" => "writing_patents#home_list"
match "reload_writing_patents" => "writing_patents#reload_writing_patents"
end
end
end
match "/appfront/*path" => redirect("/panel/*path")
end