Skip to content

Commit

Permalink
Fix global update call operation
Browse files Browse the repository at this point in the history
  • Loading branch information
guerler committed Oct 4, 2017
1 parent 200a74a commit e04002f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions lib/galaxy/webapps/galaxy/controllers/admin_toolshed.py
Original file line number Diff line number Diff line change
Expand Up @@ -1976,6 +1976,15 @@ def view_tool_metadata(self, trans, repository_id, tool_id, **kwd):
message=message,
status=status)

@web.expose
@web.require_admin
def update_tool_shed_status_for_installed_repository(self, trans, **kwd):
message, status = repository_util.check_for_updates(trans.app, trans.install_model, kwd.get('id', None))
return trans.response.send_redirect(web.url_for(controller='admin_toolshed',
action='browse_repositories',
message=message,
status=status))

@web.expose
@web.require_admin
def view_workflow(self, trans, workflow_name=None, repository_id=None, **kwd):
Expand Down

0 comments on commit e04002f

Please sign in to comment.