move approved column to common headers

This commit is contained in:
Bilal
2020-08-05 15:43:45 +02:00
parent a8944c6c4a
commit 4d83cff8d2
11 changed files with 10 additions and 26 deletions

View File

@@ -3,8 +3,8 @@
module CsvExportable
extend ActiveSupport::Concern
COMMON_HEADERS = %i[notes tags signed_at].freeze
COMMON_VALUES = %w[clean_notes clean_tags signed_on].freeze
COMMON_HEADERS = %i[approved notes tags signed_at].freeze
COMMON_VALUES = %w[approved? clean_notes clean_tags signed_on].freeze
included do
class << self