fix route
This commit is contained in:
parent
cab4614a8f
commit
5a51063bed
|
@ -1,23 +1,23 @@
|
||||||
Rails.application.routes.draw do
|
Rails.application.routes.draw do
|
||||||
namespace :panel do
|
namespace :panel do
|
||||||
namespace :dicitonary do
|
namespace :dictionary do
|
||||||
namespace :back_end do
|
namespace :back_end do
|
||||||
resources :dicitonary_vocabs do
|
resources :dictionary_vocabs do
|
||||||
collection do
|
collection do
|
||||||
get 'delete'
|
get 'delete'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
resources :archive_file_categorys
|
resources :dictionary_vocab_categorys
|
||||||
resources :tags
|
resources :tags
|
||||||
end
|
end
|
||||||
namespace :front_end do
|
namespace :front_end do
|
||||||
match "archive_files" => "archive_files#index"
|
match "dictionary_vocabs" => "dictionary_vocabs#index"
|
||||||
resources :archive_files
|
resources :dictionary_vocabs
|
||||||
end
|
|
||||||
namespace :widget do
|
|
||||||
match "index" => "archive_files#index"
|
|
||||||
match "archive_search_block" => "archive_files#archive_search_block"
|
|
||||||
end
|
end
|
||||||
|
# namespace :widget do
|
||||||
|
# match "index" => "archive_files#index"
|
||||||
|
# match "archive_search_block" => "archive_files#archive_search_block"
|
||||||
|
# end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
match "/appfront/*path" => redirect("/panel/*path")
|
match "/appfront/*path" => redirect("/panel/*path")
|
||||||
|
|
Loading…
Reference in New Issue