Merge pull request #3182 from riking/fix-readonly

FIX: Ember regression in read-only banner
This commit is contained in:
Robin Ward 2015-02-08 15:45:51 -05:00
commit 6e7f884dab

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