From 3f35bb1591889731c684cb1eb1cc5cdc2307dd3a Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Mon, 8 Aug 2011 09:39:51 -0500 Subject: [PATCH] Refactoring the redirect class. --- system/redirect.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/system/redirect.php b/system/redirect.php index 1c90c789..97990baa 100644 --- a/system/redirect.php +++ b/system/redirect.php @@ -77,13 +77,11 @@ public static function __callStatic($method, $parameters) { $parameters = (isset($parameters[0])) ? $parameters[0] : array(); - // Dynamically redirect to a secure route URL. if (strpos($method, 'to_secure_') === 0) { return static::to(URL::to_route(substr($method, 10), $parameters, true)); } - // Dynamically redirect a route URL. if (strpos($method, 'to_') === 0) { return static::to(URL::to_route(substr($method, 3), $parameters));