projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* Added migration to break script_version into separate "repository" and "script_vers...
[arvados.git]
/
apps
/
workbench
/
app
/
controllers
/
keep_disks_controller.rb
diff --git
a/apps/workbench/app/controllers/keep_disks_controller.rb
b/apps/workbench/app/controllers/keep_disks_controller.rb
index 482a2d33be0e67f5f2c480cd56958e859179f605..cc8922883283fcafe5f99a56ee669283dfaffa40 100644
(file)
--- a/
apps/workbench/app/controllers/keep_disks_controller.rb
+++ b/
apps/workbench/app/controllers/keep_disks_controller.rb
@@
-1,2
+1,7
@@
class KeepDisksController < ApplicationController
class KeepDisksController < ApplicationController
+ def create
+ defaults = { is_readable: true, is_writable: true }
+ @object = KeepDisk.new defaults.merge(params[:keep_disk] || {})
+ super
+ end
end
end