10677: typo 10677-container-request-rerun
authorradhika <radhika@curoverse.com>
Tue, 13 Dec 2016 17:12:10 +0000 (12:12 -0500)
committerradhika <radhika@curoverse.com>
Tue, 13 Dec 2016 17:12:10 +0000 (12:12 -0500)
apps/workbench/app/controllers/container_requests_controller.rb
apps/workbench/app/controllers/pipeline_instances_controller.rb

index 7ffbda3640ffb55f7be78b43a67674359d82477f..b286a9456e14e3a2538df122c31e6071fab33558 100644 (file)
@@ -79,7 +79,7 @@ class ContainerRequestsController < ApplicationController
     @object.state = 'Uncommitted'
     @object.use_existing = false
 
-    # set owner_uuid to that of source, provided it is a project and wriable by current user
+    # set owner_uuid to that of source, provided it is a project and writable by current user
     current_project = Group.find(src.owner_uuid) rescue nil
     if (current_project && current_project.writable_by.andand.include?(current_user.uuid))
       @object.owner_uuid = src.owner_uuid
index c5fbda0cf349177801a0bcbbd75c7c95634b56ef..83fe0dda4645a0437a962aa95e9572c9c897afe2 100644 (file)
@@ -53,7 +53,7 @@ class PipelineInstancesController < ApplicationController
     end
     @object.state = 'New'
 
-    # set owner_uuid to that of source, provided it is a project and wriable by current user
+    # set owner_uuid to that of source, provided it is a project and writable by current user
     current_project = Group.find(source.owner_uuid) rescue nil
     if (current_project && current_project.writable_by.andand.include?(current_user.uuid))
       @object.owner_uuid = source.owner_uuid