Author: jablko
Date: Sun Oct 17 10:59:05 2010
New Revision: 8194

Log:
Set module name, instead of template, to respect view configuration

Modified:
   trunk/apps/qubit/modules/function/actions/editAction.class.php
   trunk/apps/qubit/modules/function/actions/indexAction.class.php

Modified: trunk/apps/qubit/modules/function/actions/editAction.class.php
==============================================================================
--- trunk/apps/qubit/modules/function/actions/editAction.class.php      Sun Oct 
17 10:52:48 2010        (r8193)
+++ trunk/apps/qubit/modules/function/actions/editAction.class.php      Sun Oct 
17 10:59:05 2010        (r8194)
@@ -315,7 +315,7 @@
       }
     }
 
-    
$this->setTemplate(sfConfig::get('sf_plugins_dir').'/sfIsdfPlugin/modules/sfIsdfPlugin/templates/edit');
+    $this->moduleName = 'sfIsdfPlugin';
 
     QubitDescription::addAssets($this->response);
   }

Modified: trunk/apps/qubit/modules/function/actions/indexAction.class.php
==============================================================================
--- trunk/apps/qubit/modules/function/actions/indexAction.class.php     Sun Oct 
17 10:52:48 2010        (r8193)
+++ trunk/apps/qubit/modules/function/actions/indexAction.class.php     Sun Oct 
17 10:59:05 2010        (r8194)
@@ -90,6 +90,6 @@
       }
     }
 
-    
$this->setTemplate(sfConfig::get('sf_plugins_dir').'/sfIsdfPlugin/modules/sfIsdfPlugin/templates/index');
+    $this->moduleName = 'sfIsdfPlugin';
   }
 }

-- 
You received this message because you are subscribed to the Google Groups 
"Qubit Toolkit Commits" 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/qubit-commits?hl=en.

Reply via email to