Refactor the upgrade pending check to see if there are settings/permissions yaml changes (#438)

This commit is contained in:
Nabeel S
2019-11-19 10:54:42 -05:00
committed by GitHub
parent 3ec64c989b
commit bffa5ebde2
5 changed files with 127 additions and 19 deletions

View File

@@ -117,8 +117,6 @@ class Handler extends ExceptionHandler
*/
protected function renderHttpException(HttpExceptionInterface $e)
{
Flash::error($e->getMessage());
$status = $e->getStatusCode();
view()->replaceNamespace('errors', [
resource_path('views/layouts/'.setting('general.theme', 'default').'/errors'),