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

33 lines
707 B
Ruby

Rails.application.routes.draw do
namespace :panel do
namespace :personal_lab do
namespace :back_end do
match 'lab_setting' => "labs#lab_setting" ,:as => :lab_setting
resources :labs do
collection do
get 'delete'
end
end
resources :tags
end
namespace :front_end do
resources :labs
end
namespace :plugin do
resources :labs
end
namespace :widget do
match "labs" => "labs#index"
match "home_list" => "labs#home_list"
match "reload_labs" => "labs#reload_labs"
end
end
end
match "/appfront/*path" => redirect("/panel/*path")
end