app/controllers/wcc/contentful/app/pages_controller.rb in wcc-contentful-app-1.3.2 vs app/controllers/wcc/contentful/app/pages_controller.rb in wcc-contentful-app-1.4.0.rc1
- old
+ new
@@ -41,8 +41,8 @@
end
def global_site_config
return unless model = site_config_model
- @global_site_config ||= model.instance(preview?)
+ @global_site_config ||= model.instance(preview?, locale: I18n.locale)
end
end