Changeset 10099
- Timestamp:
- 07/03/08 17:18:51 (5 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
plugins/sfAdvancedAdminGeneratorPlugin/branches/pmacadden/data/generator/sfAdvancedAdmin/default/template/actions/actions.class.php
r10077 r10099 664 664 { 665 665 $this->getUser()->setAttribute('<?php echo sfInflector::underscore($this->getClassName()) ?>', $this->get<?php echo $this->getClassName() ?>OrCreate()); 666 $this->forward('<?php echo strtolower($has_many) ?>', 'index'); 666 <?php $module = (isset($value['module']))?$value['module']:strtolower($has_many) ?> 667 <?php $action = (isset($value['action']))?$value['action']:'index' ?> 668 $this->forward('<?php echo $module ?>', '<?php echo $action ?>'); 667 669 } 668 670