From 5a51063bedb8b7a28c38fabe8ebd32f90fa911e6 Mon Sep 17 00:00:00 2001 From: thomaschen <99703040@nccu.edu.tw> Date: Thu, 22 Aug 2013 15:09:17 +0800 Subject: [PATCH] fix route --- .../dictionary/config/routes.rb | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/vendor/built_in_modules/dictionary/config/routes.rb b/vendor/built_in_modules/dictionary/config/routes.rb index 9a48c281c..8cfeea242 100644 --- a/vendor/built_in_modules/dictionary/config/routes.rb +++ b/vendor/built_in_modules/dictionary/config/routes.rb @@ -1,23 +1,23 @@ Rails.application.routes.draw do namespace :panel do - namespace :dicitonary do + namespace :dictionary do namespace :back_end do - resources :dicitonary_vocabs do + resources :dictionary_vocabs do collection do get 'delete' end end - resources :archive_file_categorys + resources :dictionary_vocab_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" + match "dictionary_vocabs" => "dictionary_vocabs#index" + resources :dictionary_vocabs 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")