#Routes directing straight to /login
1 messages · Page 1 of 1 (latest)
This is it see no middleware
Check if the controllers add middleware in their constructors
Can you share a snippet of HomeController@contact ?
Or middleware could also be added in RouteServiceProvider
tried the command php artisan route:list -vvv --path contact? it should show all the information of the route, including the middleware etc
yes there was middleware in their contructors
Why are you directly editing files on a server? 😬
That's how real developers deploy changes 😆. Or at least how we used to do it. I don't miss those days.
if there is another way i dont know about it lol
You edit files on your computer and then use version control.
ah ill research about that thanks a lot
can you help me with a youtube video that explains this everting i tried fails
Look into tutorials on git, github and version control. https://www.youtube.com/watch?v=8JJ101D3knE - I have not looked at this but it one of many I found with a quick google
Git tutorial for beginners - Learn Git for a career in DevOps/Software Engineering. This Git tutorial teaches you everything you need to learn Git basics.
🔥 Get the full Git course with a BIG discount (LIMITED TIME): https://bit.ly/3iuDV9V
👍 Subscribe for more Git tutorials like this: https://goo.gl/6PYaGF
📕 Get my FREE Git cheat sheet:
https:/...
but this is too much
i know how to push projects to github my proplem is pushing them from github to cpanel
Might be a case of having to ask your hosting provider about that