From 6bdb6a5e4a3c85f8115d204192d6d5ea2b090024 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Mon, 11 Apr 2016 15:18:18 +0200 Subject: [PATCH] Improved device detection for user agent and different countries. --- app/controllers/application_controller.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 43af0e2d0..5b83ce553 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -128,6 +128,7 @@ class ApplicationController < ActionController::Base session[:user_agent], session[:remote_ip], session[:user_id], + 'session', ) # remember if location has changed