I'm still new to laravel and learning my way through. Normally, for example, if I want to access the file "login.blade.php" (located in "views" folder), the route would normally be:
Route::get('/login', array('as' => 'login', 'uses' => 'AuthController@getLogin'));
So the above works just fine. But what if I want to have folders inside the "views" folder? For example, I want to route the file "login.php".
- views
-- account
--- login.blade.php
I tried using:
Route::get('/account/login', array('as' => 'login', 'uses' => 'AuthController@getLogin'));
But I get an error saying "Symfony \ Component \ HttpKernel \ Exception \ NotFoundHttpException"
What am I doing wrong?
Thank you.