From 8812f958399aaefe8fc5c9f42c036b18a19eedc8 Mon Sep 17 00:00:00 2001 From: riking Date: Sun, 8 Feb 2015 12:41:07 -0800 Subject: [PATCH] FIX: Ember regression in read-only banner --- app/assets/javascripts/discourse/initializers/read-only.js.es6 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/discourse/initializers/read-only.js.es6 b/app/assets/javascripts/discourse/initializers/read-only.js.es6 index bb2313bd5bc..a6822bab318 100644 --- a/app/assets/javascripts/discourse/initializers/read-only.js.es6 +++ b/app/assets/javascripts/discourse/initializers/read-only.js.es6 @@ -10,7 +10,7 @@ export default { var site = container.lookup('site:main'); Discourse.MessageBus.subscribe("/site/read-only", function (enabled) { - site.currentProp('isReadOnly', enabled); + site.set('isReadOnly', enabled); }); } };