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,
protected $redirectTo=Redirect::back();
protected $redirectTo=redirect->back();
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