title: Laravel Getting Error with Validations
body: <p>I am trying to Get Validation Errors on index.blade.php having issues:</p>
  
  <ol>
  <li>When I fill both the fields then it goes well if i just put an Echo or Return in getLogin Controller.</li>
  <li>When I just fill one field and it works good if i just put and echo or Return but not giving validation errors, with Validation Errors it only shows, "Something went Wrong"</li>
  </ol>
  
  <p>Code for index.blade.php</p>
  
  <pre><code>&lt;section class="mainWrap"&gt;
      &lt;div class="headingfirst"&gt;&lt;img src="{{ URL::asset('css/des.png') }}" width="78"&gt;&lt;/div&gt;
      &lt;div class="sedhead"&gt;Hey User!!!! Try to Login&lt;/div&gt;
      &lt;div class="againtext"&gt;Sign In To Your Account&lt;/div&gt;
      &lt;article class="FormContainer"&gt;
              @foreach($errors as $error)
              &lt;div class="errors"&gt;{{ $error }} &lt;/div&gt;
              @endforeach
  
          &lt;img class="profile-img" src="{{ URL::asset('css/avatar_2x.png')}}"&gt;
          {{ Form::open(array('class'=&gt; 'SetMe')) }}
  
              {{ Form::text('email',null, array('placeholder'=&gt;'Email','class'=&gt;'insi')) }}
              {{ Form::password('password',array('placeholder'=&gt;'Password','class'=&gt;'dnsi')) }}
              {{ Form::submit('Sign In', array('class'=&gt;'SignIn')) }}
  
          {{ Form::close() }}
      &lt;/article&gt;
  
  &lt;/section&gt;
  </code></pre>
  
  <p>Code for AuthController.php</p>
  
  <pre><code>&lt;?php
  
  class AuthController extends Controller{
  
      public function GetLogin() {
  
  
          return View::make('layouts.index');
  
      }
  
      public function LogInfo() {
  
          $rules = array('email' =&gt; 'required','password' =&gt;'required');
  
          $validator = Validator::make(Input::all(),$rules);
  
          if($validator-&gt;fails()){
  
  
                  return Redirect::route('login')
                      -&gt;withErrors($validator);
          }
          else{
  
          }
  
      }
  
  }
  </code></pre>
  
  <p>Code for Routes.php</p>
  
  <pre><code>Route::get('login', array('uses'=&gt;'AuthController@GetLogin' ));
  
  Route::post('login', array('uses'=&gt;'AuthController@LogInfo'));
  </code></pre>
  
  <p>even when i put the Auth Code it don't show anything except "Something goes wrong". but while working with just Echos it works properly </p>