Skip to content

Commit

Permalink
BPLAT-4938 Add modal to delete any item from YiiAuth
Browse files Browse the repository at this point in the history
Add CDN to base controller

Part of https://jira.aminocom.com/browse/BPLAT-4938.
  • Loading branch information
sandeshms committed Mar 5, 2018
1 parent 3618aaa commit e77e18d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
5 changes: 0 additions & 5 deletions controllers/AssignmentController.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,6 @@ public function actionIndex()
{
$dataProvider = new CActiveDataProvider($this->module->userClass);

$cs = Yii::app()->clientScript;
$cs->scriptMap = [
'bootstrap.min.js' => 'https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js'
];

$this->render(
'index',
array(
Expand Down
5 changes: 5 additions & 0 deletions controllers/AuthItemController.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ public function actionIndex()
$dataProvider = new AuthItemDataProvider();
$dataProvider->type = $this->type;

$cs = Yii::app()->clientScript;
$cs->scriptMap = [
'bootstrap.min.js' => 'https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js'
];

$this->render(
'index',
array(
Expand Down

0 comments on commit e77e18d

Please sign in to comment.