mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-12-07 05:22:22 +03:00
Updated with latest styleci changes
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user