2019-05-02 18:17:27 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2013-08-19 07:14:26 -04:00
|
|
|
module FlagQuery
|
2018-08-09 10:49:14 -04:00
|
|
|
def self.plugin_post_custom_fields
|
|
|
|
@plugin_post_custom_fields ||= {}
|
|
|
|
end
|
|
|
|
|
|
|
|
# Allow plugins to add custom fields to the flag views
|
|
|
|
def self.register_plugin_post_custom_field(field, plugin)
|
|
|
|
plugin_post_custom_fields[field] = plugin
|
|
|
|
end
|
2013-08-19 07:14:26 -04:00
|
|
|
end
|