From 35395ea52daa2e1685ee60a3a1c2a2b31db7643e Mon Sep 17 00:00:00 2001 From: BoHung Chiu Date: Mon, 27 Mar 2023 10:19:11 +0800 Subject: [PATCH] Fix bug. --- config/routes.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/routes.rb b/config/routes.rb index d4ca002..021a201 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -18,5 +18,5 @@ Rails.application.routes.draw do end end end - get '/xhr/video_pro/show_api/(:title)-(:uid)', to: 'video_pros#show_api' + get '/xhr/video_pro/show_api/:title-:uid', to: 'video_pros#show_api' end