diff --git a/resources/views/errors/403.blade.php b/resources/views/errors/403.blade.php index 4a4e2092b..8a6378045 100644 --- a/resources/views/errors/403.blade.php +++ b/resources/views/errors/403.blade.php @@ -10,7 +10,11 @@

Error!

-

User does not have the right roles.

+ @if($exception->getMessage()) +

{{ $exception->getMessage() }}

+ @else +

You are not authorized to perform this action!

+ @endif Go back to homepage
diff --git a/resources/views/errors/404.blade.php b/resources/views/errors/404.blade.php index 4a4e2092b..e7e8b44ce 100644 --- a/resources/views/errors/404.blade.php +++ b/resources/views/errors/404.blade.php @@ -10,7 +10,7 @@

Error!

-

User does not have the right roles.

+

Page not found

Go back to homepage
diff --git a/resources/views/errors/500.blade.php b/resources/views/errors/500.blade.php index 4a4e2092b..a5bc99f85 100644 --- a/resources/views/errors/500.blade.php +++ b/resources/views/errors/500.blade.php @@ -10,7 +10,7 @@

Error!

-

User does not have the right roles.

+

Oops! Something is not working. Try again in a bit!

Go back to homepage