1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-07-28 17:02:04 +03:00

Updated with latest styleci changes

This commit is contained in:
Dan Brown
2022-02-08 15:29:58 +00:00
parent c6ad16dba6
commit 045710ea08
9 changed files with 76 additions and 68 deletions

View File

@ -54,6 +54,7 @@ abstract class Controller extends BaseController
protected function showPermissionError()
{
$message = request()->wantsJson() ? trans('errors.permissionJson') : trans('errors.permission');
throw new NotifyException($message, '/', 403);
}