Skip to content
This repository has been archived by the owner on Jul 22, 2022. It is now read-only.

Commit

Permalink
fix naming
Browse files Browse the repository at this point in the history
  • Loading branch information
ElectricMaxxx committed Jul 31, 2017
1 parent 5633d82 commit 0bf441e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Controller/TreeController.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ public function reorderAction(Request $request)
}

if (in_array($position, array('over', 'child'))) {
return new JsonResponse(array('Can not resort into a collection.'), Response::HTTP_BAD_REQUEST);
return new JsonResponse(array('Can not reorder when dropping into a collection.'), Response::HTTP_BAD_REQUEST);
}

$before = 'before' == $position;
Expand Down

0 comments on commit 0bf441e

Please sign in to comment.