Go to app/Http/Middleware/VerifyCsrfToken.php on line 14 exclude your upload images route.
/**
* The URIs that should be excluded from CSRF verification.
*
* @var array
*/
protected $except = [
'upload/images'
];
Your getting the TokenMismatchException because Laravel 5 requires a csrf_token() to be on every form. http://laravel.com/docs/5.1/routing#csrf-protection
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community