Revision #3 has been created by chuntley on Dec 17, 2012, 3:10:34 PM with the memo:
More explanation on preventing bootstrap loading on delete action
« previous (#2)
Changes
Title
unchanged
Load the Yii-Bootstrap Extension on Specific Actions
Category
unchanged
How-tos
Yii version
unchanged
Tags
unchanged
bootstrap, filter
Content
changed
[...]
);
}
```
This will load bootstrap for all actions in the controller, other than the "delete" action. By default the "delete" action does not render a view, which allows us to safely skip bootstrap loading on that action. If you wanted to disable loading bootstrap for another specific action, do the following:
```php
array('ext.bootstrap.filters.BootstrapFilter - delete, uploadajax')
```[...]