title: how to change laravel's Authcontroller's redirect path to last URL(back)
body: <p>I am using Laravel 5.2 and it want to change the Authcontroller's "$redirectTo" variable's path to back().I mean after user logs in they must be redirected back to from where they have came not to the home page.I tried many thing like setting it to,</p>
  
  <pre><code>protected $redirectTo=Redirect::back();
  protected $redirectTo=redirect-&gt;back();
  </code></pre>
  
  <p>but nothing worked.I dont want to create my custom authenction system thats why i used "php artisan make:auth" for authentication system.Please help.Thanks</p>