Skip to content
Permalink
Browse files

`$options` param in Helper::assetUrl() now defaults to empty array.

  • Loading branch information...
ADmad committed Feb 10, 2012
1 parent be694d8 commit 7a4229002154000680958a85adce08ae0dfebc36
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Cake/View/Helper.php
@@ -271,7 +271,7 @@ public function webroot($file) {
* `plugin` False value will prevent parsing path as a plugin
* @return string Generated url
*/
public function assetUrl($path, array $options) {
public function assetUrl($path, $options = array()) {
if (is_array($path)) {
$path = $this->url($path, !empty($options['fullBase']));
} elseif (strpos($path, '://') === false) {

0 comments on commit 7a42290

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