-
Couldn't load subscription status.
- Fork 1.3k
Closed
Description
When doing simply this:
Route::get('users/{user}', function($user) {
return User::find($user);
});I get this:
{
"user": {
}
}However if I use a Transformer, it changes and I can't seem to find the option to change it back:
API::transform('Users' 'UserTransformer');{
"data": {
}
}Any way to achieve this?
Metadata
Metadata
Assignees
Labels
No labels