I'm using a form request (\App\Http\Requests) for validation, and want to customize a few of my error messages. I found this in the docs: http://puu.sh/gtizr/589db18e6c.png (from the docs page at http://laravel.com/docs/5.0/validation#custom-error-messages) ...but how do I make this work in my request class?
Noodles in IRC helped me, thank you :)
Just have to create a public messages() method in the form request class. ie) http://laravel.io/bin/vBmxr#35-42
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community