Skip to content

Commit

Permalink
We do not need custom delete route entry, becouse the same method is …
Browse files Browse the repository at this point in the history
…served by the resource method.
  • Loading branch information
michalstrzelecki committed Aug 19, 2016
1 parent 3e2ec8a commit f4d036a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/routes.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ function () {
get('contents/tree/{id?}', ['uses' => 'Gzero\Api\Controller\Admin\ContentController@indexTree']);
get('contents/deleted', ['uses' => 'Gzero\Api\Controller\Admin\ContentController@indexOfDeleted']);
put('contents/restore/{id?}', 'Gzero\Api\Controller\Admin\ContentController@restore');
delete('contents/{id?}?force={forceDelete?}', 'Gzero\Api\Controller\Admin\ContentController@destroy');
resource('contents', 'Gzero\Api\Controller\Admin\ContentController');
resource(
'contents.children',
Expand Down

0 comments on commit f4d036a

Please sign in to comment.