function index() { $rep = parent::index(); if ($rep->getType() != 'html') { return $rep; } $rep->body->assign('auth_url_return', jUrl::get('view~map:index', array("repository" => $repository, "project" => $project))); return $rep; }
function index() { $rep = parent::index(); if ($rep->getType() != 'html') { return $rep; } // Get repository key $repository = $this->repositoryKey; // Get the project key $project = $this->projectKey; $rep->body->assign('auth_url_return', jUrl::get('view~map:index', array("repository" => $repository, "project" => $project))); return $rep; }