[ARVADOS] updated: 89d4aec69e1b6d8d1f687951f39d8e11f0e66ecf

git at public.curoverse.com git at public.curoverse.com
Mon Feb 2 16:40:18 EST 2015


Summary of changes:
 apps/workbench/app/controllers/collections_controller.rb | 1 +
 1 file changed, 1 insertion(+)

       via  89d4aec69e1b6d8d1f687951f39d8e11f0e66ecf (commit)
      from  96326e988977cd5147dcd4962d6c02bb43e7b330 (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 89d4aec69e1b6d8d1f687951f39d8e11f0e66ecf
Author: Radhika Chippada <radhika at curoverse.com>
Date:   Mon Feb 2 16:39:46 2015 -0500

    2659: prevent nil exception when a content hash link is clicked by anonymous user

diff --git a/apps/workbench/app/controllers/collections_controller.rb b/apps/workbench/app/controllers/collections_controller.rb
index 0e19e54..7260f4f 100644
--- a/apps/workbench/app/controllers/collections_controller.rb
+++ b/apps/workbench/app/controllers/collections_controller.rb
@@ -180,6 +180,7 @@ class CollectionsController < ApplicationController
 
   def show
     return super if !@object
+    @logs = []
     if current_user
       if Keep::Locator.parse params["uuid"]
         @same_pdh = Collection.filter([["portable_data_hash", "=", @object.portable_data_hash]])

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list