mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-25 20:03:12 +03:00
Fixed linting
This commit is contained in:
parent
4a9ad42478
commit
8af0139316
@ -15,6 +15,7 @@ export default AuthenticatedRoute.extend({
|
||||
},
|
||||
|
||||
model(params, transition) {
|
||||
// eslint-disable-next-line camelcase
|
||||
let {type: modelName, post_id} = params;
|
||||
|
||||
if (!['post', 'page'].includes(modelName)) {
|
||||
|
Loading…
Reference in New Issue
Block a user