FIX: Typo in SiteSetting
This commit is contained in:
parent
5bee6887cf
commit
04643898c9
|
@ -1,6 +1,6 @@
|
||||||
export default Discourse.Route.extend({
|
export default Discourse.Route.extend({
|
||||||
beforeModel: function() {
|
beforeModel: function() {
|
||||||
if (!Discourse.SiteSetting.login_required) {
|
if (!Discourse.SiteSettings.login_required) {
|
||||||
this.replaceWith('discovery.latest').then(function(e) {
|
this.replaceWith('discovery.latest').then(function(e) {
|
||||||
Ember.run.next(function() {
|
Ember.run.next(function() {
|
||||||
e.send('showLogin');
|
e.send('showLogin');
|
||||||
|
|
Loading…
Reference in New Issue