change onebox preview key for me consistency

This commit is contained in:
Régis Hanol 2016-12-20 11:18:47 +01:00
parent bf9e59eda9
commit b12b2b1911

View File

@ -127,7 +127,7 @@ module Oneboxer
private
def self.preview_key(user_id)
"PREVIEWING_ONEBOX_#{user_id}"
"onebox:preview:#{user_id}"
end
def self.blank_onebox