vendredi 30 novembre 2018

Laravel 5 -- Redirect in Controller is not working

Everything works perfectly except:

use Illuminate\Routing\Redirector;

public function my_call() {
 return redirect()->route('page-1');
}

return view('page-1') works without problems. Maybe anybody sees what I am doing wrong?

Thank you.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire