pipeline_templates and pipeline_instances are not admin-only
authorTom Clegg <tom@clinicalfuture.com>
Wed, 10 Jul 2013 14:03:40 +0000 (10:03 -0400)
committerTom Clegg <tom@clinicalfuture.com>
Wed, 10 Jul 2013 14:03:40 +0000 (10:03 -0400)
apps/workbench/app/controllers/pipeline_instances_controller.rb
apps/workbench/app/controllers/pipeline_templates_controller.rb
apps/workbench/app/views/pipeline_templates/index.html.erb

index de675fe3da296bd7d1b53e76227f7dbb1e989b89..afb9949f4bf2686bb97d98dd4a2a2810831a5bab 100644 (file)
@@ -1,6 +1,2 @@
 class PipelineInstancesController < ApplicationController
-  before_filter :ensure_current_user_is_admin
-  def index
-    @objects = model_class.all
-  end
 end
index 3e931004be78d52eb9f2ae87222925303c24905e..fdbebcfaed2cb5b2d68192a8d63ff56ceee358c1 100644 (file)
@@ -1,6 +1,2 @@
 class PipelineTemplatesController < ApplicationController
-  before_filter :ensure_current_user_is_admin
-  def index
-    @objects = model_class.all
-  end
 end
index 18de526ae393441b3b71a28f17d8cdfa9ab2656f..dd8bad00e7192f0811baed10227b7d3a336e2424 100644 (file)
@@ -20,7 +20,7 @@
       <td>
         <%= link_to_if_arvados_object ob %>
       </td><td>
-        <%= ob.name %>
+        <%= render_editable_attribute ob, 'name' %>
       </td><td>
         <%= link_to_if_arvados_object ob.owner_uuid %>
       </td><td>