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