My laravel application has a model - Video. It is the main model so the route was named videos. But after the development I discovered that there is a folder on the production server named videos
So now the rewriting the url to include index.php in .htaccess does not work.
Since I can not change the name of videos folder already present. I can not change the db table name also . I don't want to, its too much work. Is there a wayt o chane the rout name to something else. like lvideos or vvideos? I tried changing it in routes but it seems there are other places where I have to change it. It throws me an error in the controller. Can anyone suggest a solution for this?
I don't want to give the link with index.php to the users
Thank you.
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire