mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-17 23:44:39 -05:00
parent
f3e9218ee3
commit
002a135962
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ _private.validateData = function validateData(object) {
|
||||||
type: ['read', 'browse'],
|
type: ['read', 'browse'],
|
||||||
resource: _.map(RESOURCE_CONFIG.QUERY, 'resource')
|
resource: _.map(RESOURCE_CONFIG.QUERY, 'resource')
|
||||||
};
|
};
|
||||||
const allowedQueryOptions = ['limit', 'filter', 'include', 'slug', 'visibility', 'status'];
|
const allowedQueryOptions = ['limit', 'order', 'filter', 'include', 'slug', 'visibility', 'status'];
|
||||||
const allowedRouterOptions = ['redirect', 'slug'];
|
const allowedRouterOptions = ['redirect', 'slug'];
|
||||||
const defaultRouterOptions = {
|
const defaultRouterOptions = {
|
||||||
redirect: true
|
redirect: true
|
||||||
|
|
Loading…
Add table
Reference in a new issue