0

This is strange because i have this route: Route::get('/admin', 'AdminController@index'); pointing to AdminController@index and the AdminControllers returns layouts.admin, it simply doen't work, it keeps returning 404: The requested resource /admin was not found on this server., but when I change it to, let's say Route::get('/administrator', 'AdminController@index'); it works fine!

Can anyone tell me why laravel is giving me that error?

1 Answer 1

1

After days of research and pain I discovered the the problem was that I had admin folder under public directory as marko stated in his answer. The problem gone after removing it.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.