Commit a080a500 authored by Aishwarya Subramanian's avatar Aishwarya Subramanian

Using parentheses for method with more than one parameter

parent b9b90d4c
......@@ -5,7 +5,7 @@ module ComplianceManagement
def compliance_pipeline_configuration_available?
return true unless params.key?(:pipeline_configuration_full_path)
available = can? current_user, :manage_group_level_compliance_pipeline_config, framework
available = can?(current_user, :manage_group_level_compliance_pipeline_config, framework)
params.delete(:pipeline_configuration_full_path) unless available
available
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment