Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion resources/views/errors/403.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@
</div>
<div class="error-box">
<h1>Error!</h1>
<p>User does not have the right roles.</p>
@if($exception->getMessage())
<p>{{ $exception->getMessage() }}</p>
@else
<p>You are not authorized to perform this action!</p>
@endif
<a href="/">Go back to homepage</a>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion resources/views/errors/404.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</div>
<div class="error-box">
<h1>Error!</h1>
<p>User does not have the right roles.</p>
<p>Page not found</p>
<a href="/">Go back to homepage</a>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion resources/views/errors/500.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</div>
<div class="error-box">
<h1>Error!</h1>
<p>User does not have the right roles.</p>
<p>Oops! Something is not working. Try again in a bit!</p>
<a href="/">Go back to homepage</a>
</div>
</div>
Expand Down
Loading