FIX: missing to_i which breaks selector component for anon

This commit is contained in:
Sam 2017-05-24 11:39:01 -04:00
parent b78b010757
commit d0f84aa14e
1 changed files with 1 additions and 1 deletions

View File

@ -273,7 +273,7 @@ class ApplicationController < ActionController::Base
unless theme_key
key, seq = cookies[:theme_key]&.split(",")
if key && seq && seq.to_i == user_option&.theme_key_seq
if key && seq && seq.to_i == user_option&.theme_key_seq.to_i
theme_key = key
end
end