Skip to content

Commit

Permalink
Remove extraneous check for request.local?
Browse files Browse the repository at this point in the history
  • Loading branch information
mdchaney committed Jun 12, 2024
1 parent 0e9d1de commit c4e6e7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/concerns/authentication.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit c4e6e7b

Please sign in to comment.