From cfffeb86f489f151acaef181b048da3e9bf431a1 Mon Sep 17 00:00:00 2001 From: sogabe Date: Fri, 18 Sep 2009 05:22:16 +0000 Subject: [PATCH] fixed redundant redirection git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@21822 71c3de6d-444a-0410-be80-ed276b4c234a --- core/src/main/java/hudson/model/MyViewsProperty.java | 2 +- core/src/main/resources/hudson/model/User/sidepanel.jelly | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/main/java/hudson/model/MyViewsProperty.java b/core/src/main/java/hudson/model/MyViewsProperty.java index fce6655367..b02312943a 100644 --- a/core/src/main/java/hudson/model/MyViewsProperty.java +++ b/core/src/main/java/hudson/model/MyViewsProperty.java @@ -147,7 +147,7 @@ public class MyViewsProperty extends UserProperty implements ViewGroup, Action { } public HttpResponse doIndex() { - return new HttpRedirect("view/" + getPrimaryView().getViewName()); + return new HttpRedirect("view/" + getPrimaryView().getViewName() + "/"); } public synchronized void doCreateView(StaplerRequest req, StaplerResponse rsp) diff --git a/core/src/main/resources/hudson/model/User/sidepanel.jelly b/core/src/main/resources/hudson/model/User/sidepanel.jelly index 6c30e4de5b..1c5230b838 100644 --- a/core/src/main/resources/hudson/model/User/sidepanel.jelly +++ b/core/src/main/resources/hudson/model/User/sidepanel.jelly @@ -32,7 +32,7 @@ THE SOFTWARE. - +