Skip to content

Commit

Permalink
Show exception message on 403 when available (#26356)
Browse files Browse the repository at this point in the history
  • Loading branch information
ankurk91 authored and taylorotwell committed Nov 2, 2018
1 parent dfe84e6 commit 468754a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/Foundation/Exceptions/views/403.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
</div>
@endsection

@section('message', __('Sorry, you are forbidden from accessing this page.'))
@section('message', __($exception->getMessage() ?: 'Sorry, you are forbidden from accessing this page.'))

0 comments on commit 468754a

Please sign in to comment.