Skip to content

Commit c7594ca

Browse files
committed
Merge branch '3.x' of github.com:BinarCode/laravel-restify into 3.x
2 parents ecacf08 + 4011720 commit c7594ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Controllers/RestResponse.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -652,6 +652,6 @@ public function model(Model $model)
652652

653653
public static function created()
654654
{
655-
return (new RestResponse())->code(201);
655+
return (new self())->code(201);
656656
}
657657
}

0 commit comments

Comments
 (0)