jeudi 1 mai 2014

Laravel doesn't recognize a valid route


Vote count:

-1




I'm using Laravel for a Cat Management App and I'm having trouble creating Cats as Laravel returns a 404 for my routes.



Route::get('cats/create', function() {
$cat = new Cat;
return View::make('cats.edit')
->with('cat',$cat)
->with('method','post');
});


This route returns a stack trace which throws a not found HTTP exception.


Why Isn't this working? The address I'm typing is



localhost:8000/cats/create




asked 2 mins ago






Aucun commentaire:

Enregistrer un commentaire