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 Feb 3, 2024
1 parent 4f068f7 commit 7892941
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 @@ -422,8 +422,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 7892941

Please sign in to comment.