diff options
Diffstat (limited to 'app/helpers/application_helper.rb')
| -rw-r--r-- | app/helpers/application_helper.rb | 6 | 
1 files changed, 5 insertions, 1 deletions
| diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 479b661c8..a0c6796ea 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -136,5 +136,9 @@ module ApplicationHelper      url_for(:controller => "/help", :action => "show") + '/' + target    end - +  def permitted_custom_fields_params custom_fields +    [{ +      custom_field_values: custom_fields.map(&:code) +    }] +  end  end | 
