Refactoring dynamic redirects to routes.

This commit is contained in:
Taylor Otwell 2011-06-30 07:45:38 -07:00
parent c7e7d64545
commit 87ec697f2d
1 changed files with 2 additions and 0 deletions

View File

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