Generated URLs default to use the current protocol (http or https)

Signed-off-by: Phill Sparks <phill@bulbstudios.com>
This commit is contained in:
Phill Sparks
2012-05-30 13:14:16 +01:00
parent d21713f35f
commit 6151886860
6 changed files with 16 additions and 17 deletions

View File

@@ -297,7 +297,7 @@ class Router {
* @param bool $https
* @return void
*/
public static function controller($controllers, $defaults = 'index', $https = false)
public static function controller($controllers, $defaults = 'index', $https = null)
{
foreach ((array) $controllers as $identifier)
{