I am using laravel 5.2. I am aborting the user for 403 page with the abort(403, 'Unauthorized action.'); command. This will redirects to 403 page. And prints the Unauthorized action message. But if I use custom blade for 403 page means how to print Unauthorized action message which given inside the abort function. I have searched through internet, and Laravel error pages document also. But I can't find the solution. How to print Unauthorized action message in my custom template file.
Add a comment
|