Browse Source

jump 处理参数

pull/4/head
欧醚 4 years ago
parent
commit
0b5b741e32
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/controllers/about_controller.rb

+ 1
- 1
app/controllers/about_controller.rb View File

@ -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?

Loading…
Cancel
Save