Browse Source

link_to_secure_route no longer needed.

Taylor Otwell 13 years ago
parent
commit
642b0f17f0
1 changed files with 2 additions and 17 deletions
  1. 2 17
      laravel/html.php

+ 2 - 17
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)
-	{
-		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())
+	public static function link_to_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);
 	}
 
 	/**