Skip to content

Commit

Permalink
Remove legacy mapping of execute operations and add route for index o…
Browse files Browse the repository at this point in the history
…peration
  • Loading branch information
heisner-tillman committed Jan 26, 2024
1 parent c00b7f4 commit f72d7cb
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion lib/galaxy/webapps/galaxy/buildapp.py
Original file line number Diff line number Diff line change
Expand Up @@ -421,8 +421,13 @@ def populate_api_routes(webapp, app):
controller="tools",
conditions=dict(method=["POST"]),
)
webapp.mapper.connect(
"api/tools",
action="index",
controller="tools",
conditions=dict(method=["GET"]),
)
webapp.mapper.connect("/api/tools/{id:.+?}", action="show", controller="tools")
webapp.mapper.resource("tool", "tools", path_prefix="/api")
webapp.mapper.resource("dynamic_tools", "dynamic_tools", path_prefix="/api")

webapp.mapper.connect(
Expand Down

0 comments on commit f72d7cb

Please sign in to comment.