docker_manager/admin/assets/javascripts/discourse/docker-manager-route-map.js
Vinoth Kannan da4917770d
DEV: rename the "upgrade" route to "update" and change references. (#210)
This PR will rename the route "`/admin/upgrade`" to "`/admin/update`" and it will add a redirect for the old route.

Follow-up to the PR: https://github.com/discourse/docker_manager/pull/208
2024-04-03 21:10:13 +05:30

10 lines
205 B
JavaScript

export default {
resource: "admin",
map() {
this.route("update", { resetNamespace: true }, function () {
this.route("processes");
this.route("show", { path: "/:id" });
});
},
};