Fix linting error

This commit is contained in:
James Kiesel 2016-08-15 15:45:23 -04:00
parent 554d15fdd4
commit 98d300e79c

View file

@ -15,8 +15,8 @@ export default Discourse.Route.extend({
f = '';
if (params.additional_tags) {
this.set("additionalTags", params.additional_tags.split('/').map((tag) => {
return this.store.createRecord("tag", { id: Handlebars.Utils.escapeExpression(tag) }).id;
this.set("additionalTags", params.additional_tags.split('/').map((t) => {
return this.store.createRecord("tag", { id: Handlebars.Utils.escapeExpression(t) }).id;
}));
}