Commits

Christoffer Niska committed ebeac3c

Changed the URL for the update link in the block view. fixes #1

Comments (0)

Files changed (2)

themes/bootstrap/views/CmsBlock/block.php

 
 	<?php if (Yii::app()->cms->checkAccess()): ?>
 		<?php echo CHtml::link(Yii::t('CmsModule.core', 'Update'),
-				array('cms/node/update', 'id'=>$model->id), array('class'=>'btn small update-link')) ?>
+				array('node/update', 'id'=>$model->id), array('class'=>'btn small update-link')) ?>
 	<?php endif ?>
 
 </div>

widgets/views/block.php

 
 	<?php if (Yii::app()->cms->checkAccess()): ?>
 		<?php echo CHtml::link(Yii::t('CmsModule.core', 'Update'),
-				array('cms/node/update', 'id'=>$model->id), array('class'=>'update-link')) ?>
+				array('node/update', 'id'=>$model->id), array('class'=>'update-link')) ?>
 	<?php endif ?>
 
 </div>