src/Http/Redirect/Redirector.php
public function route($route, $secure = null)
    {
        $path = Url::root();

        if ($route == '/') {
            $route = $path;
        } else {
            $route = $path.$route;
        }

        return self::locate($route, $secure);
    }
public function route($route, $secure = null)
    {
        $path = Url::root();

        if ($route == '/') {
            $route = $path;
        } else {
            $route = $path.$route;
        }

        return self::locate($route, $secure);
    }
public function route ( $ route , $ secure = null ) { $ path = Url :: root ( ) ; if ( $ route == '/' ) { $ route = $ path ; } else { $ route = $ path . $ route ; } return self :: locate ( $ route , $ secure ) ; }
Redirect to route.

@param string $route
@param bool   $secure

@return mixed
Redirect to route .