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

24 lines
664 B
Ruby
Raw Normal View History

2013-08-22 06:49:38 +00:00
Rails.application.routes.draw do
namespace :panel do
2013-08-22 07:06:09 +00:00
namespace :dicitonary do
2013-08-22 06:49:38 +00:00
namespace :back_end do
2013-08-22 07:06:09 +00:00
resources :dicitonary_vocabs do
2013-08-22 06:49:38 +00:00
collection do
get 'delete'
end
end
resources :archive_file_categorys
resources :tags
end
namespace :front_end do
match "archive_files" => "archive_files#index"
resources :archive_files
end
namespace :widget do
match "index" => "archive_files#index"
match "archive_search_block" => "archive_files#archive_search_block"
end
end
end
match "/appfront/*path" => redirect("/panel/*path")
end