From d3cf967977ad13364f86a55bbc67e932ffceb35f Mon Sep 17 00:00:00 2001 From: Rafik Salama Date: Fri, 29 May 2015 18:35:39 -0400 Subject: [PATCH] UI: Fix restoring state for service names containing slashes --- ui/javascripts/app/router.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/javascripts/app/router.js b/ui/javascripts/app/router.js index a7d68a03d3..f79df94ffd 100644 --- a/ui/javascripts/app/router.js +++ b/ui/javascripts/app/router.js @@ -21,7 +21,7 @@ App.Router.map(function() { // Services represent a consul service this.resource("services", { path: "/services" }, function(){ // Show an individual service - this.route("show", { path: "/:name" }); + this.route("show", { path: "/*name" }); }); // Nodes represent a consul node this.resource("nodes", { path: "/nodes" }, function() {