title: How to pass validation errors to view without redirect in Laravel
body: <p>How can i pass validation errors directly to a View without a redirect in Laravel? 
  I don't want to do that:</p>
  
  <pre><code>return Redirect::back()-&gt;withErrors($validator)-&gt;withInput();
  </code></pre>
  
  <p>but rather:</p>
  
  <pre><code>Input::flash(); // for repopulating fields
  Validator::flash(); // this doesn't exist    
  return View::make('fragments/login_ajax');
  </code></pre>
  
  <p>Or another more concise direct generation of a view without a redirect. Optimal would be something like that, but that doesn't work:</p>
  
  <pre><code>return View::make('fragments/login_ajax')-&gt;withErrors($validator)-&gt;withInput();
  </code></pre>
  
  <p>The reason is, that this is the answer to an ajax based login. Redirecting to another method only used to display the same view deems unneccessary. </p>
  
  <p>Cheers</p>