Refactoring dynamic redirects to routes.

This commit is contained in:
Taylor Otwell
2011-06-30 07:45:38 -07:00
parent c7e7d64545
commit 87ec697f2d

View File

@@ -77,6 +77,8 @@ class Redirect {
*/
public static function __callStatic($method, $parameters)
{
$parameters = (isset($parameters[0])) ? $parameters[0] : array();
// ----------------------------------------------------
// Dynamically redirect to a secure route URL.
// ----------------------------------------------------