X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/468a80200c8ef3e4a56700714e9af537d87a20bc..c6a03a7abff947dc8242e8be18b4b5e6920a3e4a:/apps/workbench/app/controllers/jobs_controller.rb diff --git a/apps/workbench/app/controllers/jobs_controller.rb b/apps/workbench/app/controllers/jobs_controller.rb index 51e27abd41..40f4378544 100644 --- a/apps/workbench/app/controllers/jobs_controller.rb +++ b/apps/workbench/app/controllers/jobs_controller.rb @@ -27,15 +27,20 @@ class JobsController < ApplicationController if params[:uuid] @objects = Job.where(uuid: params[:uuid]) generate_provenance(@objects) + render_index else @limit = 20 + super end - render_index end def cancel @object.cancel - redirect_to @object + if params[:return_to] + redirect_to params[:return_to] + else + redirect_to @object + end end def show @@ -52,6 +57,6 @@ class JobsController < ApplicationController end def show_pane_list - %w(Status Attributes Provenance Metadata JSON API) + %w(Status Log Details Provenance Advanced) end end