paulredmond/chosen-cakephp — pull request #4 by aymericderbois (2012-12-18 16:04:16+00:00)
Title: 2.0 allow chosen layout

## Why ?

It's for cases where we call ```$this->Chosen->select(); ``` after that ```Chosen->afterRender``` callback is called.

## Example

If we used ```$this->Chosen->select(); ``` in an element, and this element is directly included in layout.
In that case when ```$this->Chosen->select(); ``` is called, ```Chosen->afterRender``` has already been called.
With this modification we just need to manually call ```$this->Chosen->loadScripts(); ``` in layout