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

28 lines
733 B
Ruby
Raw Normal View History

2012-04-13 07:24:19 +00:00
Rails.application.routes.draw do
namespace :panel do
namespace :archive do
namespace :back_end do
resources :archive_files do
collection do
get 'delete'
end
end
resources :archive_file_categorys
2012-04-13 07:24:19 +00:00
resources :tags
end
namespace :front_end do
match "archive_files" => "archive_files#index"
2013-07-18 14:36:51 +00:00
resources :archive_files do
member do
get 'download'
end
end
2012-04-13 07:24:19 +00:00
end
namespace :widget do
2013-03-07 09:59:53 +00:00
match "index" => "archive_files#index"
2013-06-05 10:03:09 +00:00
match "archive_search_block" => "archive_files#archive_search_block"
2012-04-13 07:24:19 +00:00
end
end
end
match "/appfront/*path" => redirect("/panel/*path")
end