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

40 lines
1012 B
Ruby
Raw Normal View History

2012-10-08 08:20:21 +00:00
Rails.application.routes.draw do
namespace :panel do
namespace :personal_diploma do
2013-08-05 10:35:04 +00:00
namespace :desktop do
match "diploma_window" => "personal_diplomas#diploma_window"
resources :personal_diplomas
2013-09-25 10:11:02 +00:00
resources :plugin_intros
2013-08-05 10:35:04 +00:00
end
2012-10-08 08:20:21 +00:00
namespace :back_end do
match 'diploma_setting' => "diplomas#diploma_setting" ,:as => :diploma_setting
resources :diplomas do
collection do
get 'delete'
get 'data_share'
2012-10-08 08:20:21 +00:00
end
end
resources :personal_diploma_intros
2012-10-08 08:20:21 +00:00
resources :tags
end
namespace :front_end do
resources :diplomas
end
namespace :plugin do
resources :diplomas
end
namespace :widget do
match "diplomas" => "diplomas#index"
match "home_list" => "diplomas#home_list"
match "reload_diplomas" => "diplomas#reload_diplomas"
end
end
end
match "/appfront/*path" => redirect("/panel/*path")
end