Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

solving problem with batch action because only get, head sf_method ar…

…e by default set
  • Loading branch information...
commit 055a837f2c1dac931c0ffb36393c7c68b4101278 1 parent 8690dbd
@ldath ldath authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/routing/sfPropelORMRouteCollection.class.php
View
2  lib/routing/sfPropelORMRouteCollection.class.php
@@ -103,7 +103,7 @@ protected function getWildcardRouteForCollection()
return new $this->routeClass(
sprintf('%s/:action/action.:sf_format', $this->options['prefix_path']),
array_merge(array('module' => $this->options['module'], 'sf_format' => 'html'), $this->options['default_params']),
- array_merge($this->options['requirements'], array()),
+ array_merge($this->options['requirements'], array('sf_method' => array('get', 'head', 'post'))),
array('model' => $this->options['model'], 'type' => 'list', 'query_methods' => $this->options['query_methods']['list'])
);
}
Please sign in to comment.
Something went wrong with that request. Please try again.