Skip to content

Commit

Permalink
renamed filter() to filterAction()
Browse files Browse the repository at this point in the history
  • Loading branch information
lsmith77 committed Jul 21, 2011
1 parent 5cd209f commit 4b47493
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Controller/ImagineController.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public function __construct(
*
* @return Response
*/
public function filter($path, $filter)
public function filterAction($path, $filter)
{
$path = '/'.ltrim($path, '/');

Expand Down
2 changes: 1 addition & 1 deletion Routing/ImagineLoader.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public function supports($resource, $type = null)
public function load($resource, $type = null)
{
$requirements = array('_method' => 'GET', 'filter' => '[A-z0-9_\-]*', 'path' => '.+');
$defaults = array('_controller' => 'imagine.controller:filter');
$defaults = array('_controller' => 'imagine.controller:filterAction');
$routes = new RouteCollection();

if (count($this->filters) > 0) {
Expand Down

0 comments on commit 4b47493

Please sign in to comment.