Created
January 18, 2011 15:43
-
-
Save tyx/784610 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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