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

43 lines
1.3 KiB
Ruby

Rails.application.routes.draw do
namespace :panel do
namespace :personal_experience do
namespace :desktop do
match "experience_window" => "personal_experiences#experience_window"
resources :personal_experiences
resources :plugin_intros
end
namespace :back_end do
match 'experience_setting' => "experiences#experience_setting" ,:as => :experience_setting
resources :experiences do
collection do
get 'delete'
get 'data_share'
end
match "experience_category_quick_add" => "experiences#experience_category_quick_add" ,:as => :experience_category_quick_add
match "experience_category_quick_edit" => "experiences#experience_category_quick_edit" ,:as => :experience_category_quick_edit
end
resources :personal_experience_intros
resources :experience_categorys
resources :tags
end
namespace :front_end do
resources :experiences
end
namespace :plugin do
resources :experiences
end
namespace :widget do
match "experiences" => "experiences#index"
match "home_list" => "experiences#home_list"
match "reload_experiences" => "experiences#reload_experiences"
end
end
end
match "/appfront/*path" => redirect("/panel/*path")
end