mirror of
https://github.com/yiisoft/yii.git
synced 2026-03-04 15:24:07 +01:00
refactored gii.
This commit is contained in:
@@ -35,6 +35,12 @@ class ControllerCode extends CCodeModel
|
||||
);
|
||||
}
|
||||
|
||||
public function successMessage()
|
||||
{
|
||||
$link=CHtml::link('try it now', Yii::app()->createUrl($this->controller), array('target'=>'_blank'));
|
||||
return "The controller has been generated successfully. You may $link.";
|
||||
}
|
||||
|
||||
public function prepare()
|
||||
{
|
||||
$this->files=array();
|
||||
|
||||
Reference in New Issue
Block a user