|
@@ -77,13 +77,11 @@ class Redirect {
|
|
{
|
|
{
|
|
$parameters = (isset($parameters[0])) ? $parameters[0] : array();
|
|
$parameters = (isset($parameters[0])) ? $parameters[0] : array();
|
|
|
|
|
|
- // Dynamically redirect to a secure route URL.
|
|
|
|
if (strpos($method, 'to_secure_') === 0)
|
|
if (strpos($method, 'to_secure_') === 0)
|
|
{
|
|
{
|
|
return static::to(URL::to_route(substr($method, 10), $parameters, true));
|
|
return static::to(URL::to_route(substr($method, 10), $parameters, true));
|
|
}
|
|
}
|
|
|
|
|
|
- // Dynamically redirect a route URL.
|
|
|
|
if (strpos($method, 'to_') === 0)
|
|
if (strpos($method, 'to_') === 0)
|
|
{
|
|
{
|
|
return static::to(URL::to_route(substr($method, 3), $parameters));
|
|
return static::to(URL::to_route(substr($method, 3), $parameters));
|