Support the ongoing development of Laravel.io →
posted 9 years ago
Requests

I just tried to view my login page and it tells me this me NotFoundHttpException. I dont know what i am doing wrong..

If i view it directly from the laravel folder, it works well. but when i move the files into my git folder, it prompts that error.

How do i fix this?

Last updated 2 years ago.
0

do you want to paste your code from your routes and login controller?

0

This is my route:

Route::get('login', 'HomeController@showLogin'); Route::post('login','HomeController@actionLogin');

And my controller is: http://laravel.io/bin/W4kVa

If you would like to see the my git repository, i could send the link to you, so you could see what im talking about.

0

I don't think there's anything wrong with the code, but perhaps with you moving stuff in/out of your git directory. Why are you moving stuff into the git folder?

0

Cos i want my team members to be able to work with on the project... is this a wrong approach?

0

Sign in to participate in this thread!

Eventy

Your banner here too?

chritech chritech Joined 12 Mar 2015

Moderators

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.

© 2025 Laravel.io - All rights reserved.