commit/galaxy-central: dan: Fix for api/tools/show/ when no id is provided.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/41cd069aa739/ Changeset: 41cd069aa739 User: dan Date: 2014-01-16 22:52:39 Summary: Fix for api/tools/show/ when no id is provided. Affected #: 1 file diff -r 71186fb4b179fc051e6919dd0e31e94f9cedc3d6 -r 41cd069aa739f735add1b7c6c4bdb5881dc7ed3b lib/galaxy/webapps/galaxy/buildapp.py --- a/lib/galaxy/webapps/galaxy/buildapp.py +++ b/lib/galaxy/webapps/galaxy/buildapp.py @@ -129,7 +129,7 @@ webapp.mapper.resource( 'role', 'roles', path_prefix='/api' ) webapp.mapper.resource( 'group', 'groups', path_prefix='/api' ) webapp.mapper.resource_with_deleted( 'quota', 'quotas', path_prefix='/api' ) - webapp.mapper.connect( '/api/tools/{id:.*?}', action='show', controller="tools" ) + webapp.mapper.connect( '/api/tools/{id:.+?}', action='show', controller="tools" ) webapp.mapper.resource( 'tool', 'tools', path_prefix='/api' ) webapp.mapper.resource_with_deleted( 'user', 'users', path_prefix='/api' ) webapp.mapper.resource( 'genome', 'genomes', path_prefix='/api' ) 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