projects
/
arvados.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
224c45d
)
2985: let errors propagate during save
author
radhika <radhika@curoverse.com>
Wed, 30 Jul 2014 19:57:30 +0000
(15:57 -0400)
committer
radhika <radhika@curoverse.com>
Wed, 30 Jul 2014 19:57:30 +0000
(15:57 -0400)
apps/workbench/app/controllers/actions_controller.rb
patch
|
blob
|
history
diff --git
a/apps/workbench/app/controllers/actions_controller.rb
b/apps/workbench/app/controllers/actions_controller.rb
index 9f2cfb09f3da31ecb6953b5e5a3e915b212d757f..e3cdd5589e0312a6040a7af6597b89485ab91a64 100644
(file)
--- a/
apps/workbench/app/controllers/actions_controller.rb
+++ b/
apps/workbench/app/controllers/actions_controller.rb
@@
-70,12
+70,7
@@
class ActionsController < ApplicationController
dst.owner_uuid = @object.uuid
dst.tail_uuid = @object.uuid if dst.class == Link
end
- begin
- dst.save!
- rescue
- dst.name += " (#{Time.now.localtime})" if dst.respond_to? :name=
- dst.save!
- end
+ dst.save!
end
end
redirect_to @object