Support the ongoing development of Laravel.io →

Purus

Joined 19 Jul 2015

Statistics

Threads 1
Replies 4
Solutions 0
Articles 0

Root page not working when redirecting

I am using the below code to redirect to the root page. return Redirect::to('/'); I have defined t...

0 Likes
9 Replies
replied 9 years ago

Root page not working when redirecting

Sorry, this does not make sense to me. What difference is there if my name my "/" controll...

0 Likes
replied 9 years ago

Root page not working when redirecting

Hi, It still redirects to the /home URI. I am really working on a bigger project and I need to add b...

0 Likes
replied 9 years ago

Root page not working when redirecting

This is the PagesController section. public function home() { //your code return view('home'); } I...

0 Likes
replied 9 years ago

Root page not working when redirecting

dukejib said: the "home" function in your PagesController. It should say public function...

0 Likes

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.