Skip to content

Commit

Permalink
import all of YiiStrap for #19
Browse files Browse the repository at this point in the history
  • Loading branch information
cornernote committed Jul 7, 2014
1 parent 1356167 commit 9c706ef
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion audit/AuditModule.php
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,10 @@ public function initYiiStrap()
return;
// setup yiiStrap components
Yii::setPathOfAlias('bootstrap', realpath($this->yiiStrapPath));
Yii::import('bootstrap.helpers.TbHtml');
Yii::import('bootstrap.helpers.*');
Yii::import('bootstrap.widgets.*');
Yii::import('bootstrap.behaviors.*');
Yii::import('bootstrap.form.*');
Yii::app()->setComponents(array(
'bootstrap' => array(
'class' => 'bootstrap.components.TbApi',
Expand Down

0 comments on commit 9c706ef

Please sign in to comment.