Skip to content

Instantly share code, notes, and snippets.

@tyx
Created January 18, 2011 15:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tyx/784610 to your computer and use it in GitHub Desktop.
Save tyx/784610 to your computer and use it in GitHub Desktop.
diff --git a/Admin/Admin.php b/Admin/Admin.php
index a532554..4d41b1b 100644
--- a/Admin/Admin.php
+++ b/Admin/Admin.php
@@ -207,7 +207,7 @@ abstract class Admin extends ContainerAware
'name' => $this->getBaseRouteName().'_list',
'pattern' => $this->getBaseRoutePattern().'/list',
'defaults' => array(
- '_controller' => $this->getBaseControllerName().':list'
+ '_controller' => $this->getBaseControllerName().'::listAction'
),
'requirements' => array(),
'options' => array(),
@@ -217,7 +217,7 @@ abstract class Admin extends ContainerAware
'name' => $this->getBaseRouteName().'_create',
'pattern' => $this->getBaseRoutePattern().'/create',
'defaults' => array(
- '_controller' => $this->getBaseControllerName().':create'
+ '_controller' => $this->getBaseControllerName().'::createAction'
),
'requirements' => array(),
'options' => array(),
@@ -227,7 +227,7 @@ abstract class Admin extends ContainerAware
'name' => $this->getBaseRouteName().'_edit',
'pattern' => $this->getBaseRoutePattern().'/{id}/edit',
'defaults' => array(
- '_controller' => $this->getBaseControllerName().':edit'
+ '_controller' => $this->getBaseControllerName().'::editAction'
),
'requirements' => array(),
'options' => array(),
@@ -237,7 +237,7 @@ abstract class Admin extends ContainerAware
'name' => $this->getBaseRouteName().'_update',
'pattern' => $this->getBaseRoutePattern().'/update',
'defaults' => array(
- '_controller' => $this->getBaseControllerName().':update'
+ '_controller' => $this->getBaseControllerName().'::updateAction'
),
'requirements' => array(),
'options' => array(),
@@ -247,7 +247,7 @@ abstract class Admin extends ContainerAware
'name' => $this->getBaseRouteName().'_batch',
'pattern' => $this->getBaseRoutePattern().'/batch',
'defaults' => array(
- '_controller' => $this->getBaseControllerName().':batch'
+ '_controller' => $this->getBaseControllerName().'::batchAction'
),
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment