laravel/framework — pull request #5409 by pevawi (2014-08-11 08:50:11+00:00)
Title: Add method hasBag to ViewErrorBag

When redirecting withErrors($validator) the edit form can show individual messages. But to show a generic message, something like: "please check the red marked field below". I don't know anything else to do but to flash a extra variable. This method would remedy that. Now I could simply check: $errors->hasBag() to see if the form is a redirect from a post with a errors message bag or a first get for input.