Basic FASP support (#34031)

This commit is contained in:
David Roetzel authored and GitHub committed 2025-03-28 12:16:40 +00:00
1 parent e5fd61a84e
commit 97b9994743
45 files changed
+1423 -1

No files matched your search

@@ -0,0 +1,20 @@
# frozen_string_literal: true
class Admin::Fasp::Debug::CallbacksController < Admin::BaseController
def index
authorize [:admin, :fasp, :provider], :update?
@callbacks = Fasp::DebugCallback
.includes(:fasp_provider)
.order(created_at: :desc)
end
def destroy
authorize [:admin, :fasp, :provider], :update?
callback = Fasp::DebugCallback.find(params[:id])
callback.destroy
redirect_to admin_fasp_debug_callbacks_path
end
end