commit/galaxy-central: jeremy goecks: Fix for 9bc3fa1 to allow path rewrites; old Webhelper functions stripped preceding '/' but current functions do not.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/dfa5f6b88176/ Changeset: dfa5f6b88176 User: jeremy goecks Date: 2014-01-22 20:09:09 Summary: Fix for 9bc3fa1 to allow path rewrites; old Webhelper functions stripped preceding '/' but current functions do not. Affected #: 1 file diff -r 5217c8c788a31716758d943204b20ad4a4850c37 -r dfa5f6b881769995d4bb660e82b4c20256779bf3 lib/galaxy/web/framework/helpers/__init__.py --- a/lib/galaxy/web/framework/helpers/__init__.py +++ b/lib/galaxy/web/framework/helpers/__init__.py @@ -57,7 +57,7 @@ Cache-bust with time that server started running on """ - return "\n".join( [ stylesheet_link( "/static/style/" + name + ".css?v=%s" % server_starttime ) for name in args ] ) + return "\n".join( [ stylesheet_link( "static/style/" + name + ".css?v=%s" % server_starttime ) for name in args ] ) def js_helper( prefix, *args ): """ @@ -73,14 +73,14 @@ Take a prefix and list of javascript names and return appropriate string of script tags. """ - return js_helper( '/static/scripts/', *args ) + return js_helper( 'static/scripts/', *args ) def templates( *args ): """ Take a list of template names (no extension) and return appropriate string of script tags. """ - return js_helper( '/static/scripts/templates/compiled/', *args ) + return js_helper( 'static/scripts/templates/compiled/', *args ) # Hashes 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