Skip to content

Commit

Permalink
Merge pull request #161 from thunderwolf/master
Browse files Browse the repository at this point in the history
Problem with admin generator additiona action and sfPropelORMRouteCollection (with corrected pull)
  • Loading branch information
willdurand committed Oct 4, 2012
2 parents ed8361b + 065f51e commit 686237b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -5,3 +5,4 @@ test/functional/fixtures/lib/model/map/
test/functional/fixtures/lib/model/om/ test/functional/fixtures/lib/model/om/
mockproject/ mockproject/
junit.xml junit.xml
.svn
2 changes: 1 addition & 1 deletion lib/routing/sfPropelORMRouteCollection.class.php
Expand Up @@ -103,7 +103,7 @@ protected function getWildcardRouteForCollection()
return new $this->routeClass( return new $this->routeClass(
sprintf('%s/:action/action.:sf_format', $this->options['prefix_path']), 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(array('module' => $this->options['module'], 'sf_format' => 'html'), $this->options['default_params']),
array_merge($this->options['requirements'], array('sf_method' => 'post')), 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']) array('model' => $this->options['model'], 'type' => 'list', 'query_methods' => $this->options['query_methods']['list'])
); );
} }
Expand Down

0 comments on commit 686237b

Please sign in to comment.