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

32 lines
836 B
Ruby
Raw Normal View History

2012-09-13 10:13:34 +00:00
Rails.application.routes.draw do
namespace :panel do
namespace :personal_seminar do
namespace :back_end do
resources :writing_seminars do
collection do
get 'delete'
end
end
resources :seminar_paper_types
resources :seminar_author_types
# resources :seminar_level_types
resources :tags
end
namespace :front_end do
resources :writing_seminars
end
namespace :plugin do
resources :writing_seminars
end
namespace :widget do
match "writing_seminars" => "writing_seminars#index"
match "home_list" => "writing_seminars#home_list"
match "reload_writing_seminars" => "writing_seminars#reload_writing_seminars"
end
end
end
match "/appfront/*path" => redirect("/panel/*path")
end