I decided to use a new framework to me for my new project so i started with Laravel! I'm starting to like it, had few problems but it sorted out. But now i'm having hard times with Routing!
Using HomeController i get index page:
Route::get('/', 'HomeController@index');
and everything is ok.
But i created new controller MeteoController using Artisan. And routing:
Route::get('test', 'MeteoController@Attuale');
where controller is:
class MeteoController extends \BaseController {
public function Attuale()
{
return View::make('meteo/meteoattuale');
}
}
Neither doesn't work with:
Route::get('test', function(){
return View::make('meteoattuale');
});
Everytime calling /test i get 404. I've googled and did: dump-autoload, even htaccess with mod_rewite. Any ideas on what could cause this problem?
Thanks.