More IP debugging
This commit is contained in:
parent
7f4eab3396
commit
bc7541a2c9
1 changed files with 1 additions and 1 deletions
|
|
@ -31,6 +31,6 @@ class ApplicationController < ActionController::Base
|
||||||
|
|
||||||
# Get the visitor's IP address to make it accessible to the Log model
|
# Get the visitor's IP address to make it accessible to the Log model
|
||||||
def get_ip
|
def get_ip
|
||||||
@remote_ip = request.remote_addr
|
@remote_ip = request.remote_ip
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue