Its early here, so i'm sure i'm missing something obvious
This works fine
Route::get('users/login', array('as' => 'login', 'uses' => 'UserController@getLogin'));
But if i change the route to use admin it dies with UserController does not exist
Route::get('admin/login', array('as' => 'login', 'uses' => 'UserController@getLogin'));
Why ? Surely theoretically i can call my route anything
Route::get('/spoon', 'KnifeController@getAllForks');
mistake on my part - it does of course work, there was a controller error which was not getting picked up on the other route
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community