From 783ba59965c378d2648a71362f0bde29f4ffaaa8 Mon Sep 17 00:00:00 2001 From: "BOYA,CHIU" Date: Thu, 15 Jul 2021 19:31:26 +0800 Subject: [PATCH] fix error --- config/routes.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/routes.rb b/config/routes.rb index bf837fe..8f7bd11 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -11,7 +11,7 @@ Rails.application.routes.draw do get "/xhr/ticket/types", to: 'admin/tickets_api#tickettypes' delete "/xhr/ticket/:ticket_id", to: 'admin/tickets_api#destroy' namespace :admin do - scope "tickets-manage", :controller => 'official_module' do + scope "tickets-manage", :controller => 'tickets',as: 'tickets' do get "search" post "submit_response" delete "delete_response"