From 0b5b741e32b51eb6b606f8d3ec130506bf58bf7d Mon Sep 17 00:00:00 2001 From: Z Date: Mon, 2 Mar 2020 22:01:56 +0800 Subject: [PATCH] =?UTF-8?q?jump=20=E5=A4=84=E7=90=86=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controllers/about_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/about_controller.rb b/app/controllers/about_controller.rb index fb9eb9f56..0c3f3da3c 100644 --- a/app/controllers/about_controller.rb +++ b/app/controllers/about_controller.rb @@ -26,7 +26,7 @@ class AboutController < ApplicationController def terms; end def jump - @jump_url = "https://#{params[:destin]}/#{params[:path]}" + @jump_url = "https://#{request.fullpath[6..-1]}" end helper_method :display_blocks?