Added default value to URL::to_asset method.

This commit is contained in:
Taylor Otwell
2011-07-13 11:03:22 -07:00
parent c3b8524e1b
commit 6c6f92a7c9

View File

@@ -50,7 +50,7 @@ class URL {
* @param string $url
* @return string
*/
public static function to_asset($url)
public static function to_asset($url = '')
{
return static::to($url, false, true);
}