Add navigateToRepo method to gr-navigation

Change-Id: I29492e93d7ccc297592e368c64207d38f5ac54ec
This commit is contained in:
Wyatt Allen
2018-03-20 16:37:02 -07:00
parent 439b0666fb
commit 59551fce6f

View File

@@ -416,6 +416,14 @@ limitations under the License.
});
},
/**
* Navigate to a repo settings page.
* @param {string} repoName
*/
navigateToRepo(repoName) {
this._navigate(this.getUrlForRepo(repoName));
},
/**
* @param {string} repoName
* @return {string}