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

23 lines
580 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"
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
match "/appfront/*path" => redirect("/panel/*path")
end