Two month of work
This commit is contained in:
@@ -11,7 +11,7 @@ class TodoController extends Controller
|
||||
{
|
||||
public function index()
|
||||
{
|
||||
$todos = Todo::with('type')->get();
|
||||
$todos = Todo::with('type')->orderBy('due_date')->get();
|
||||
return ApiDataTransformer::snakeToCamel($todos->toArray());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user