Commit 57cce0f12edbc8322a39440c5684ec24c3537369

Authored by Victor Costa
1 parent 32c0459c
Exists in master

Fix block cache key

lib/pairwise_plugin/questions_group_list_block.rb
... ... @@ -124,7 +124,7 @@ class PairwisePlugin::QuestionsGroupListBlock < Block
124 124 true
125 125 end
126 126  
127   - def cache_key_with_person(params = {}, user = nil, language = 'en')
  127 + def cache_key_with_person(language = 'en', user=nil)
128 128 cache_key_without_person + (user && created_by == user ? "-#{user.identifier}" : '')
129 129 end
130 130 alias_method_chain :cache_key, :person
... ...