Author: KRavEN
Date: 2010-05-13 21:26:46 +0200 (Thu, 13 May 2010)
New Revision: 29444

Modified:
   plugins/ExtjsGeneratorPlugin/trunk/lib/task/ExtjsGenerateAdminTask.class.php
Log:
Updated generate-admin task with new route collection class.

Modified: 
plugins/ExtjsGeneratorPlugin/trunk/lib/task/ExtjsGenerateAdminTask.class.php
===================================================================
--- 
plugins/ExtjsGeneratorPlugin/trunk/lib/task/ExtjsGenerateAdminTask.class.php    
    2010-05-13 19:09:33 UTC (rev 29443)
+++ 
plugins/ExtjsGeneratorPlugin/trunk/lib/task/ExtjsGenerateAdminTask.class.php    
    2010-05-13 19:26:46 UTC (rev 29444)
@@ -54,7 +54,7 @@
 the [with_wildcard_routes|COMMENT] option to the route:
 
   article:
-    class: sfPropelRouteCollection
+    class: ExtjsPropel15RouteCollection
     options:
       model:                Article
       with_wildcard_routes: true
@@ -65,7 +65,7 @@
   {
     $routeOptions = $arguments['route']->getOptions();
 
-    if (!$arguments['route'] instanceof sfPropelRouteCollection)
+    if (!$arguments['route'] instanceof ExtjsPropel15RouteCollection)
     {
       throw new sfCommandException(sprintf('The route "%s" is not a Propel 
collection route.', $arguments['route_name']));
     }

-- 
You received this message because you are subscribed to the Google Groups 
"symfony SVN" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/symfony-svn?hl=en.

Reply via email to