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

44 lines
1.3 KiB
Ruby
Raw Normal View History

2012-09-24 06:10:44 +00:00
Rails.application.routes.draw do
namespace :panel do
namespace :personal_project do
2013-08-05 10:35:04 +00:00
namespace :desktop do
match "project_window" => "personal_projects#project_window"
resources :personal_projects
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 'project_setting' => "projects#project_setting" ,:as => :project_setting
resources :projects do
collection do
get 'delete'
get 'data_share'
2012-09-24 06:10:44 +00:00
end
match "project_category_quick_add" => "projects#project_category_quick_add" ,:as => :project_category_quick_add
match "project_category_quick_edit" => "projects#project_category_quick_edit" ,:as => :project_category_quick_edit
end
resources :personal_project_intros
resources :project_categorys
2012-09-24 06:10:44 +00:00
resources :tags
end
namespace :front_end do
resources :projects
end
namespace :plugin do
resources :projects
end
namespace :widget do
match "projects" => "projects#index"
match "home_list" => "projects#home_list"
match "reload_projects" => "projects#reload_projects"
end
end
end
match "/appfront/*path" => redirect("/panel/*path")
end