php - Laravel 4 (Beta 5) Routing error -
i decided use new framework me new project started laravel! i'm starting it, had few problems sorted out. i'm having hard times routing!
using homecontroller index page:
route::get('/', 'homecontroller@index'); , ok.
but created new controller meteocontroller using artisan. , routing:
route::get('test', 'meteocontroller@attuale'); 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 404. i've googled , did: dump-autoload, htaccess mod_rewite. ideas on cause problem?
thanks.
the problem in .htaccess , server configuration.
problem solved post: stackoverflow
and one: epigroove.com
Comments
Post a Comment