Sha256: e177a2b1226e56917f7c1856ca9c57592e739af269f6d5a165ac53401bc68ac2

Contents?: true

Size: 214 Bytes

Versions: 22

Compression:

Stored size: 214 Bytes

Contents

# frozen_string_literal: true

WebhookTemplate.without_auditing do
  SeedHelper.import_templates(
    Dir[File.join("#{ForemanWebhooks::Engine.root}/app/views/foreman_webhooks/webhook_templates/**/*.erb")]
  )
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
foreman_webhooks-4.0.0 db/seeds.d/95_webhook_templates.rb
foreman_webhooks-3.2.3 db/seeds.d/95_webhook_templates.rb
foreman_webhooks-3.2.2 db/seeds.d/95_webhook_templates.rb
foreman_webhooks-3.1.1 db/seeds.d/95_webhook_templates.rb
foreman_webhooks-3.2.1 db/seeds.d/95_webhook_templates.rb
foreman_webhooks-3.2.0 db/seeds.d/95_webhook_templates.rb
foreman_webhooks-3.1.0 db/seeds.d/95_webhook_templates.rb
foreman_webhooks-3.0.5 db/seeds.d/95_webhook_templates.rb
foreman_webhooks-2.0.3 db/seeds.d/95_webhook_templates.rb
foreman_webhooks-3.0.4 db/seeds.d/95_webhook_templates.rb
foreman_webhooks-2.0.2 db/seeds.d/95_webhook_templates.rb
foreman_webhooks-3.0.3 db/seeds.d/95_webhook_templates.rb
foreman_webhooks-3.0.2 db/seeds.d/95_webhook_templates.rb
foreman_webhooks-3.0.1 db/seeds.d/95_webhook_templates.rb
foreman_webhooks-2.0.1 db/seeds.d/95_webhook_templates.rb
foreman_webhooks-3.0.0 db/seeds.d/95_webhook_templates.rb
foreman_webhooks-2.0.0 db/seeds.d/95_webhook_templates.rb
foreman_webhooks-1.1.0 db/seeds.d/95_webhook_templates.rb
foreman_webhooks-1.0.0 db/seeds.d/95_webhook_templates.rb
foreman_webhooks-0.0.3 db/seeds.d/95_webhook_templates.rb