Refactoring dynamic redirects to routes.
This commit is contained in:
@@ -77,6 +77,8 @@ class Redirect {
|
|||||||
*/
|
*/
|
||||||
public static function __callStatic($method, $parameters)
|
public static function __callStatic($method, $parameters)
|
||||||
{
|
{
|
||||||
|
$parameters = (isset($parameters[0])) ? $parameters[0] : array();
|
||||||
|
|
||||||
// ----------------------------------------------------
|
// ----------------------------------------------------
|
||||||
// Dynamically redirect to a secure route URL.
|
// Dynamically redirect to a secure route URL.
|
||||||
// ----------------------------------------------------
|
// ----------------------------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user