FIX: Ember regression in read-only banner

This commit is contained in:
riking 2015-02-08 12:41:07 -08:00
parent 2f8e29bd04
commit 8812f95839

View file

@ -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);
});
}
};