Update HtmlHelper.php

No need to add `null` to `$options` param as mentioned in the docs section: [Using blocks for script and CSS files](http://book.cakephp.org/2.0/en/views.html#using-blocks-for-script-and-css-files)
This commit is contained in:
William Notowidagdo 2014-08-01 11:22:29 +07:00
parent a6caf28ea6
commit 23954e6ad3

View file

@ -497,7 +497,7 @@ class HtmlHelper extends AppHelper {
* *
* Add the script file to a custom block: * Add the script file to a custom block:
* *
* `$this->Html->script('styles.js', null, array('block' => 'bodyScript'));` * `$this->Html->script('styles.js', array('block' => 'bodyScript'));`
* *
* ### Options * ### Options
* *