Correct name of defaultView setting

This commit is contained in:
Charlie DeTar 2014-12-16 09:28:34 -07:00
parent d17c447561
commit dbdb529e75

View file

@ -30,7 +30,7 @@ Meteor.startup(function() {
return (this.getDescription && this.getDescription()) || getSetting("seoDescription");
};
var frontPage = ["posts_" + getSetting("frontPage", "top").toLowerCase()];
var frontPage = ["posts_" + getSetting("defaultView", "top").toLowerCase()];
var postPage = ["post_page", "post_page_with_slug"];
// Front page