Skip to content

Commit 632628f

Browse files
committed
Redirect to actual landing page not just welcome
1 parent cfe7f25 commit 632628f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/galaxy/webapps/galaxy/controllers/tool_runner.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def __tool_404__():
5353

5454
# tool id not available, redirect to main page
5555
if tool_id is None:
56-
return trans.response.send_redirect(url_for(controller="root", action="welcome"))
56+
return trans.response.send_redirect(url_for("/"))
5757
tool = self.__get_tool(tool_id)
5858
# tool id is not matching, display an error
5959
if not tool:
@@ -171,7 +171,7 @@ def data_source_redirect(self, trans, tool_id=None):
171171
Subverting did not work on Chrome 31
172172
"""
173173
if tool_id is None:
174-
return trans.response.send_redirect(url_for(controller="root", action="welcome"))
174+
return trans.response.send_redirect(url_for("/"))
175175
tool = self.__get_tool(tool_id)
176176
# No tool matching the tool id, display an error (shouldn't happen)
177177
if not tool:

0 commit comments

Comments
 (0)