Make sure only "application/*" error pages are returned from the api

This commit is contained in:
Graham Campbell
2015-06-17 09:11:17 +01:00
parent bbb7616f93
commit f13e0cce2c
2 changed files with 59 additions and 0 deletions

View File

@@ -48,6 +48,7 @@ return [
'GrahamCampbell\Exceptions\Filters\VerboseFilter',
'GrahamCampbell\Exceptions\Filters\CanDisplayFilter',
'GrahamCampbell\Exceptions\Filters\ContentTypeFilter',
'CachetHQ\Cachet\Exceptions\Filters\ApiFilter',
],
];