From 642b0f17f0612452a94456f69ca42c1f3b96320b Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Tue, 14 Feb 2012 11:35:22 -0600 Subject: [PATCH] link_to_secure_route no longer needed. --- laravel/html.php | 19 ++----------------- 1 file changed, 2 insertions(+), 17 deletions(-) diff --git a/laravel/html.php b/laravel/html.php index 9d5a9142..83b3de00 100644 --- a/laravel/html.php +++ b/laravel/html.php @@ -173,26 +173,11 @@ class HTML { * @param string $title * @param array $parameters * @param array $attributes - * @param bool $https * @return string */ - public static function link_to_route($name, $title, $parameters = array(), $attributes = array(), $https = false) + public static function link_to_route($name, $title, $parameters = array(), $attributes = array()) { - return static::link(URL::to_route($name, $parameters, $https), $title, $attributes); - } - - /** - * Generate an HTTPS HTML link to a route. - * - * @param string $name - * @param string $title - * @param array $parameters - * @param array $attributes - * @return string - */ - public static function link_to_secure_route($name, $title, $parameters = array(), $attributes = array()) - { - return static::link_to_route($name, $title, $parameters, $attributes, true); + return static::link(URL::to_route($name, $parameters), $title, $attributes); } /**