fixed redundant redirection

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@21822 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
sogabe committed 2009-09-18 05:22:16 +00:00
1 parent 26cca1a973
commit cfffeb86f4
2 files changed
+2 -2

No files matched your search

@@ -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)
@@ -32,7 +32,7 @@ THE SOFTWARE.
<l:task icon="images/24x24/up.gif" href="${rootURL}/" title="${%Back to Dashboard}" />
<l:task icon="images/24x24/search.gif" href="${rootURL}/${it.url}/" title="${%Status}" />
<l:task icon="images/24x24/notepad.gif" href="${rootURL}/${it.url}/builds" title="${%Builds}" />
<l:task icon="images/24x24/notepad.gif" href="${rootURL}/${it.url}/my-views" title="${%My Views}" />
<l:task icon="images/24x24/notepad.gif" href="${rootURL}/${it.url}/my-views/" title="${%My Views}" />
<l:task icon="images/24x24/setting.gif" href="${rootURL}/${it.url}/configure" title="${%Configure}" permission="${app.ADMINISTER}"/>
<!-- TODO add all UserProperties that are also actions -->
</l:tasks>