Fix App routing

This commit is contained in:
Philipp 2022-01-03 19:55:47 +01:00
parent 543e4be0a6
commit 37f850377e
No known key found for this signature in database
GPG key ID: 24A7501396EB5432
4 changed files with 14 additions and 10 deletions

View file

@ -31,18 +31,20 @@ interface ICanCreateResponses
*/
const X_HEADER = 'X-RESPONSE-TYPE';
const TYPE_HTML = 'html';
const TYPE_XML = 'xml';
const TYPE_JSON = 'json';
const TYPE_ATOM = 'atom';
const TYPE_RSS = 'rss';
const TYPE_HTML = 'html';
const TYPE_XML = 'xml';
const TYPE_JSON = 'json';
const TYPE_ATOM = 'atom';
const TYPE_RSS = 'rss';
const TYPE_BLANK = 'blank';
const ALLOWED_TYPES = [
self::TYPE_HTML,
self::TYPE_XML,
self::TYPE_JSON,
self::TYPE_ATOM,
self::TYPE_RSS
self::TYPE_RSS,
self::TYPE_BLANK,
];
/**