Sha256: ee4f24b95c00218ef620ce42af6db8e6d3977aba17975cbe33a8d482cef25aeb
Contents?: true
Size: 350 Bytes
Versions: 18
Compression:
Stored size: 350 Bytes
Contents
# frozen_string_literal: true class WebhooksController < ::ApplicationController include ForemanWebhooks::Controller::Parameters::Webhook include Foreman::Controller::AutoCompleteSearch before_action :find_resource, only: %i[destroy] def destroy if @webhook.destroy process_success else process_error end end end
Version data entries
18 entries across 18 versions & 1 rubygems