mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-04 20:35:52 +08:00
11 lines
204 B
Ruby
11 lines
204 B
Ruby
# frozen_string_literal: true
|
|
|
|
module CustomField
|
|
extend ActiveSupport::Concern
|
|
|
|
class_methods do
|
|
def true_fields
|
|
where(value: HasCustomFields::Helpers::CUSTOM_FIELD_TRUE)
|
|
end
|
|
end
|
|
end
|