commit/galaxy-central: dan: Remove leading slash from generation of tool_runner URL when a tool requires user log in, and still needs to.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/56e9d6fb4201/ Changeset: 56e9d6fb4201 User: dan Date: 2013-04-18 15:56:13 Summary: Remove leading slash from generation of tool_runner URL when a tool requires user log in, and still needs to. Affected #: 1 file diff -r eba52974bfaf93806b5177363a1d731190e28d8b -r 56e9d6fb4201122a7545abf417b908b944aeab4e lib/galaxy/webapps/galaxy/controllers/tool_runner.py --- a/lib/galaxy/webapps/galaxy/controllers/tool_runner.py +++ b/lib/galaxy/webapps/galaxy/controllers/tool_runner.py @@ -65,7 +65,7 @@ if tool.require_login and not trans.user: message = "You must be logged in to use this tool." status = "info" - redirect = url_for( controller='/tool_runner', action='index', tool_id=tool_id, **kwd ) + redirect = url_for( controller='tool_runner', action='index', tool_id=tool_id, **kwd ) return trans.response.send_redirect( url_for( controller='user', action='login', cntrller='user', Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.
participants (1)
-
commits-noreply@bitbucket.org