2012-04-13 07:24:19 +00:00
|
|
|
Rails.application.routes.draw do
|
|
|
|
namespace :panel do
|
|
|
|
namespace :archive do
|
|
|
|
namespace :back_end do
|
2013-02-20 02:18:28 +00:00
|
|
|
resources :archive_files
|
|
|
|
resources :archive_file_categorys
|
2012-04-13 07:24:19 +00:00
|
|
|
resources :tags
|
|
|
|
end
|
|
|
|
namespace :front_end do
|
2013-02-20 02:18:28 +00:00
|
|
|
match "archive_files" => "archive_files#index"
|
2012-04-13 07:24:19 +00:00
|
|
|
resources :archive_files
|
|
|
|
end
|
|
|
|
namespace :widget do
|
2013-03-07 09:59:53 +00:00
|
|
|
match "index" => "archive_files#index"
|
2012-04-13 07:24:19 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
2013-02-20 02:18:28 +00:00
|
|
|
match "/appfront/*path" => redirect("/panel/*path")
|
2012-04-13 07:24:19 +00:00
|
|
|
end
|