From c4e6e7bc119585d3699ccf0f6d076e1eca4518a0 Mon Sep 17 00:00:00 2001 From: Michael Chaney Date: Tue, 11 Jun 2024 21:04:25 -0500 Subject: [PATCH] Remove extraneous check for request.local? Closes #88. --- app/controllers/concerns/authentication.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/concerns/authentication.rb b/app/controllers/concerns/authentication.rb index 751f0c2..85633da 100644 --- a/app/controllers/concerns/authentication.rb +++ b/app/controllers/concerns/authentication.rb @@ -53,6 +53,6 @@ def user_signed_in? end def store_location - session[:user_return_to] = request.original_url if request.get? && request.local? + session[:user_return_to] = request.original_url if request.get? end end