Fixed linting

This commit is contained in:
Kevin Ansfield 2019-03-11 10:13:48 +00:00
parent 4a9ad42478
commit 8af0139316

View File

@ -15,6 +15,7 @@ export default AuthenticatedRoute.extend({
}, },
model(params, transition) { model(params, transition) {
// eslint-disable-next-line camelcase
let {type: modelName, post_id} = params; let {type: modelName, post_id} = params;
if (!['post', 'page'].includes(modelName)) { if (!['post', 'page'].includes(modelName)) {