[ARVADOS] updated: 028d44becf330be95a1d9f44e6c929b983bef30c
git at public.curoverse.com
git at public.curoverse.com
Fri Jul 18 10:44:00 EDT 2014
Summary of changes:
apps/workbench/app/controllers/application_controller.rb | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
via 028d44becf330be95a1d9f44e6c929b983bef30c (commit)
from 533d3511169d756e3148632d24756c13879a0701 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit 028d44becf330be95a1d9f44e6c929b983bef30c
Author: radhika <radhika at curoverse.com>
Date: Fri Jul 18 10:43:10 2014 -0400
3160: use blank name when copying any object with no name, not just pipeline instances.
diff --git a/apps/workbench/app/controllers/application_controller.rb b/apps/workbench/app/controllers/application_controller.rb
index 479cebd..c32bac4 100644
--- a/apps/workbench/app/controllers/application_controller.rb
+++ b/apps/workbench/app/controllers/application_controller.rb
@@ -258,11 +258,7 @@ class ApplicationController < ActionController::Base
if @object.name and @object.name != ''
@object.name = "Copy of #{@object.name}"
else
- if @object.class.name == 'PipelineInstance'
- @object.name = ""
- else
- @object.name = "Copy of unnamed #{@object.class_for_display.downcase}"
- end
+ @object.name = ""
end
end
@object.save!
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list