Sha256: a7593452aa3a3d84d74020a7fa02d311976eaa4463d232c1e681824c23dd174d
Contents?: true
Size: 304 Bytes
Versions: 19
Compression:
Stored size: 304 Bytes
Contents
# frozen_string_literal: true module ForemanWebhooks module TaxonomyExtensions extend ActiveSupport::Concern included do has_many :webhook_templates, -> { where(type: 'WebhookTemplate') }, through: :taxable_taxonomies, source: :taxable, source_type: 'WebhookTemplate' end end end
Version data entries
19 entries across 19 versions & 1 rubygems