Sunday, April 9, 2017

Redirect::back() is not working in laravel 5.2

if(count($data) == 1){
            return view('welcome');
        }
        else {
            // echo "dslkfjads";
            Redirect::back()->with('message','Username or password not Match!'); 
        }

Above Redirect::back() function is not working while login. If I'm printing anything it is showing



via Giridhari Lal

Advertisement