From bc7541a2c9716a4e9e9c3b803ec7315dd7ec2a0c Mon Sep 17 00:00:00 2001 From: Christoph Haas Date: Wed, 3 Mar 2021 01:15:50 +0100 Subject: [PATCH] More IP debugging --- app/controllers/application_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 04af206..fd3365c 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -31,6 +31,6 @@ class ApplicationController < ActionController::Base # Get the visitor's IP address to make it accessible to the Log model def get_ip - @remote_ip = request.remote_addr + @remote_ip = request.remote_ip end end