Skip to content

Update data/generator/sfPropelModule/admin15/template/lib/helper.php #183

Merged
merged 1 commit into from Feb 14, 2013
View
4 data/generator/sfPropelModule/admin15/template/lib/helper.php
@@ -26,7 +26,7 @@ public function linkToMoveUp($object, $params)
$params['action'] = 'moveUp';
}
- return '<li class="sf_admin_action_moveup">'.link_to(__($params['label'], array(), 'sf_admin'), '<?php echo $this->params['route_prefix'] ?>/'.$params['action'].'?<?php echo $this->getPrimaryKeyUrlParams('$object', true); ?>).'</li>';
+ return '<li class="sf_admin_action_moveup">'.link_to(__($params['label'], array(), 'sf_admin'), '<?php echo $this->params['moduleName'] ?>/'.$params['action'].'?<?php echo $this->getPrimaryKeyUrlParams('$object', true); ?>).'</li>';
}
public function linkToMoveDown($object, $params)
@@ -41,7 +41,7 @@ public function linkToMoveDown($object, $params)
$params['action'] = 'moveDown';
}
- return '<li class="sf_admin_action_movedown">'.link_to(__($params['label'], array(), 'sf_admin'), '<?php echo $this->params['route_prefix'] ?>/'.$params['action'].'?<?php echo $this->getPrimaryKeyUrlParams('$object', true); ?>).'</li>';
+ return '<li class="sf_admin_action_movedown">'.link_to(__($params['label'], array(), 'sf_admin'), '<?php echo $this->params['moduleName'] ?>/'.$params['action'].'?<?php echo $this->getPrimaryKeyUrlParams('$object', true); ?>).'</li>';
}
}
Something went wrong with that request. Please try again.