Try with
public function index() {
\Redirect::to('www.laravel.io');
}
Add a \ before the facade Redirect
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community