[ARVADOS] updated: 5f708f621d43585e59787d86d4e3565e09f9c6b8
git at public.curoverse.com
git at public.curoverse.com
Mon Aug 3 21:36:54 EDT 2015
Summary of changes:
apps/workbench/app/controllers/actions_controller.rb | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
via 5f708f621d43585e59787d86d4e3565e09f9c6b8 (commit)
from 80abb8a0e679f4dd1a7ac00cd629f854af160de5 (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 5f708f621d43585e59787d86d4e3565e09f9c6b8
Author: radhika <radhika at curoverse.com>
Date: Mon Aug 3 21:36:08 2015 -0400
6476: simpler conditional check
diff --git a/apps/workbench/app/controllers/actions_controller.rb b/apps/workbench/app/controllers/actions_controller.rb
index 926cdef..2a0f747 100644
--- a/apps/workbench/app/controllers/actions_controller.rb
+++ b/apps/workbench/app/controllers/actions_controller.rb
@@ -6,11 +6,7 @@ class ActionsController < ApplicationController
Rails.configuration.anonymous_user_token and
'show' == ctrl.action_name and
params['uuid'] and
- (model_class == Collection or
- model_class == Group or
- model_class == Job or
- model_class == PipelineInstance or
- model_class == PipelineTemplate)
+ model_class.in?([Collection, Group, Job, PipelineInstance, PipelineTemplate])
}
skip_filter :require_thread_api_token, only: [:report_issue_popup, :report_issue]
skip_filter :check_user_agreements, only: [:report_issue_popup, :report_issue]
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list