Files
grecia/app/controllers/concerns/report_attributes.rb
2019-05-22 11:50:03 +02:00

10 lines
160 B
Ruby

module ReportAttributes
extend ActiveSupport::Concern
private
def report_attributes
Report::KINDS.map { |kind| :"#{kind}_enabled" }
end
end