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

Commit

Permalink
Merge pull request #200 from sonata-project/post_requirement_batch
Browse files Browse the repository at this point in the history
jjadded POST requirement to batch route
  • Loading branch information
lsmith77 committed Oct 11, 2013
2 parents b664d27 + daa58dc commit 6642dde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Route/PathInfoBuilderSlashes.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ function build(AdminInterface $admin, RouteCollection $collection)

$collection->add('list');
$collection->add('create');
$collection->add('batch');
$collection->add('batch', null, array(), array('_method' => 'POST'));
$collection->add('edit', $admin->getRouterIdParameter().'/edit', array(), array('id' => '.+'));
$collection->add('delete', $admin->getRouterIdParameter().'/delete', array(), array('id' => '.+'));
$collection->add('export');
Expand Down

0 comments on commit 6642dde

Please sign in to comment.