public static function page(Page $c, $code = 302, $headers = array())
    {
        if ($c->getCollectionPath()) {
            $url = Core::make('helper/navigation')->getLinkToCollection($c, true);
        } else {
            $url = \URL::to($c);
        }
        $r = static::createRedirectResponse((string) $url, $code, $headers);

        return $r;
    }