Closed
Description
Okay so i have installed the package and all that jazz, looks like its working fine. Problem i have is thusly...
Route::api(['version' => 'v1', 'prefix' => 'api'], function () {
Route::get('test', function () {
return ['data' => ['a','b','c']];
});
});
So thats supposed to create a route on api/test that will return some json correct?
So anyway, i run 'php artisan routes' only to not see that route atall?
$ php artisan routes
+--------+-------------------------+----------------------+---------+----------------+---------------+
| Domain | URI | Name | Action | Before Filters | After Filters |
+--------+-------------------------+----------------------+---------+----------------+---------------+
| | GET|HEAD _debugbar/open | debugbar.openhandler | Closure | | |
+--------+-------------------------+----------------------+---------+----------------+---------------+
Am i doing something wrong or what? Any help is greatly appreciated... currently using laravel 4.1.25
Metadata
Metadata
Assignees
Labels
No labels