orbit-basic/vendor/built_in_modules/archive/config/routes.rb

24 lines
522 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
2013-03-07 09:59:53 +00:00
resources :archive_files do
collection do
get 'delete'
end
end
2012-04-13 07:24:19 +00:00
resources :archive_file_categorys
resources :tags
end
namespace :front_end do
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