projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use post method instead of get method when invoking the unsetup method from the api...
[arvados.git]
/
apps
/
workbench
/
app
/
controllers
/
pipeline_templates_controller.rb
diff --git
a/apps/workbench/app/controllers/pipeline_templates_controller.rb
b/apps/workbench/app/controllers/pipeline_templates_controller.rb
index 3e931004be78d52eb9f2ae87222925303c24905e..5173d4e376b9a2ae244ca90d05b3130f3e2e06d7 100644
(file)
--- a/
apps/workbench/app/controllers/pipeline_templates_controller.rb
+++ b/
apps/workbench/app/controllers/pipeline_templates_controller.rb
@@
-1,6
+1,12
@@
class PipelineTemplatesController < ApplicationController
class PipelineTemplatesController < ApplicationController
- before_filter :ensure_current_user_is_admin
- def index
- @objects = model_class.all
+
+ def show
+ @objects = PipelineInstance.where(pipeline_template_uuid: @object.uuid)
+ super
end
end
+
+ def show_pane_list
+ %w(Components Pipelines Attributes Metadata JSON API)
+ end
+
end
end