From f64c421ef55d3ffdded743beba0646aac2d2c33c Mon Sep 17 00:00:00 2001 From: chiu Date: Tue, 19 Nov 2019 22:22:37 +0800 Subject: [PATCH] overide ActionDispatch::Request.original_url method to solve the problem of https review --- app/controllers/action_dispatch.rb | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 app/controllers/action_dispatch.rb diff --git a/app/controllers/action_dispatch.rb b/app/controllers/action_dispatch.rb new file mode 100644 index 0000000..6712e9e --- /dev/null +++ b/app/controllers/action_dispatch.rb @@ -0,0 +1,7 @@ +module ActionDispatch + class Request + def original_url + original_fullpath + end + end +end \ No newline at end of file