Skip to content
Permalink
Browse files

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)
  • Loading branch information...
williamn committed Aug 1, 2014
1 parent a6caf28 commit 23954e6ad3418922d6a4611814bea797ae71678e
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Cake/View/Helper/HtmlHelper.php
@@ -497,7 +497,7 @@ public function css($path, $options = array()) {
*
* 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
*

0 comments on commit 23954e6

Please sign in to comment.
You can’t perform that action at this time.