Skip to content

Commit

Permalink
Specify POST action for cloudauthz create action.
Browse files Browse the repository at this point in the history
  • Loading branch information
VJalili committed Oct 15, 2018
1 parent 116ce0d commit 612e6fc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/galaxy/webapps/galaxy/buildapp.py
Expand Up @@ -296,7 +296,10 @@ def populate_api_routes(webapp, app):
webapp.mapper.resource_with_deleted('quota', 'quotas', path_prefix='/api')

webapp.mapper.connect('/api/cloud/authz/', action='index', controller='cloudauthz', conditions=dict(method=["GET"]))
webapp.mapper.connect('/api/cloud/authz/create', action='create', controller='cloudauthz')
webapp.mapper.connect('/api/cloud/authz/create',
action='create',
controller='cloudauthz',
conditions=dict(method=["POST"]))

webapp.mapper.connect('get_custom_builds_metadata',
'/api/histories/{id}/custom_builds_metadata',
Expand Down

0 comments on commit 612e6fc

Please sign in to comment.