outsideLinksPointTo -> RSSLinksPointTo

This commit is contained in:
Sacha Greif 2015-10-13 10:16:40 +09:00
parent 772387c1b6
commit 2d2c28582a
4 changed files with 12 additions and 2 deletions

View file

@ -8,6 +8,7 @@
* Renamed `top` zone to `contentTop`. * Renamed `top` zone to `contentTop`.
* Created new `contentBottom`, `postsListTop`, `postsListBottom` zones. * Created new `contentBottom`, `postsListTop`, `postsListBottom` zones.
* Newsletter banner is now included in `contentTop` zone, not `hero`. * Newsletter banner is now included in `contentTop` zone, not `hero`.
* Renamed "Outside Links Point To" setting to "RSS Links Point To".
## v0.25 “FlowScope” ## v0.25 “FlowScope”

View file

@ -721,6 +721,14 @@ var migrationsList = {
} }
}); });
return i; return i;
},
changeOutsideLinksPointTo: function () {
var i = 0;
Settings.find().forEach(function (setting) {
i++;
Settings.update({_id: setting._id}, {$rename: {'outsideLinksPointTo': 'RSSLinksPointTo'}}, {validate: false});
});
return i;
} }
}; };

View file

@ -55,5 +55,6 @@
"extras" : "Extras", "extras" : "Extras",
"colors" : "Colors", "colors" : "Colors",
"integrations" : "Integrations", "integrations" : "Integrations",
"enableDownvotes": "Enable Downvotes" "enableDownvotes": "Enable Downvotes",
"RSSLinksPointTo": "RSS Links Point To"
} }

View file

@ -180,7 +180,7 @@ Settings.schema = new SimpleSchema({
instructions: 'Minimum time between posts, in seconds (defaults to 30)' instructions: 'Minimum time between posts, in seconds (defaults to 30)'
} }
}, },
outsideLinksPointTo: { RSSLinksPointTo: {
type: String, type: String,
optional: true, optional: true,
autoform: { autoform: {