Merge pull request #730 from sparksp/develop-default-https

Generated URLs default to use the current protocol (http or https)
This commit is contained in:
Taylor Otwell
2012-05-30 07:01:28 -07:00
6 changed files with 16 additions and 17 deletions

View File

@@ -137,7 +137,7 @@ class HTML {
* @param bool $https
* @return string
*/
public static function link($url, $title, $attributes = array(), $https = false)
public static function link($url, $title, $attributes = array(), $https = null)
{
$url = URL::to($url, $https);