diff --git a/app/controllers/application.rb b/app/controllers/application.rb index ae6f780..f0b973a 100644 --- a/app/controllers/application.rb +++ b/app/controllers/application.rb @@ -104,9 +104,9 @@ class ApplicationController < ActionController::Base def load_terminology # cache terminology for performance - @terminology_cache ||= {} - @terminology_cache[environment.id] ||= environment.terminology - Noosfero.terminology = @terminology_cache[environment.id] + @@terminology_cache ||= {} + @@terminology_cache[environment.id] ||= environment.terminology + Noosfero.terminology = @@terminology_cache[environment.id] end def render_not_found(path = nil) -- libgit2 0.21.2