Closed saade closed 7 years ago
I had success with:
return response()->view('index', [], 404);
is this correct and safe to use?
Hi @SaadeMotion Please take a look at this thread
I don't think it's a good idea to return 404s
Just return response()->view('index');
??
As noted here, you can enable HTML5 mode in ui-router by writing:
$locationProvider.html5Mode(true)
and then in Laravel you need a Catch all route
I'm trying to remove the # from url, if i try to access:
http://localhost:8000
my app works, but if i need to navigate to other page like:http://localhost:8000/home
the page becomes blank.i have done:
In my angular routes:
on index.blade.php:
and finally, after reading this thread: #407 in my handler.php:
but the page becomes blank.