From 04643898c933221eeb37a4da0016fa25a4079a66 Mon Sep 17 00:00:00 2001 From: Robin Ward Date: Tue, 29 Jul 2014 13:27:01 -0400 Subject: [PATCH] FIX: Typo in SiteSetting --- app/assets/javascripts/discourse/routes/login.js.es6 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/discourse/routes/login.js.es6 b/app/assets/javascripts/discourse/routes/login.js.es6 index 7e68316ef82..b5598864df2 100644 --- a/app/assets/javascripts/discourse/routes/login.js.es6 +++ b/app/assets/javascripts/discourse/routes/login.js.es6 @@ -1,6 +1,6 @@ export default Discourse.Route.extend({ beforeModel: function() { - if (!Discourse.SiteSetting.login_required) { + if (!Discourse.SiteSettings.login_required) { this.replaceWith('discovery.latest').then(function(e) { Ember.run.next(function() { e.send('showLogin');