Commit 9fc8c36b authored by Taylor Otwell's avatar Taylor Otwell

Removing comment bloat from Redirect class.

parent 5bea9121
...@@ -75,13 +75,6 @@ class Redirect { ...@@ -75,13 +75,6 @@ class Redirect {
*/ */
public static function __callStatic($method, $parameters) public static function __callStatic($method, $parameters)
{ {
// Get the parameters for the method. Dynamic routes can be generated using an
// array of parameters for routes that contain wildcards, such as /user/(:num).
//
// Example: Redirect::to_profile(array(1));
//
// Here we'll check to see if a parameter was passed. If it wasn't, we'll just
// pass an empty array into the URL generator.
$parameters = (isset($parameters[0])) ? $parameters[0] : array(); $parameters = (isset($parameters[0])) ? $parameters[0] : array();
// Dynamically redirect to a secure route URL. // Dynamically redirect to a secure route URL.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment