diff options
Diffstat (limited to 'app/controllers/sherlock/transactions_controller.rb')
-rw-r--r-- | app/controllers/sherlock/transactions_controller.rb | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/app/controllers/sherlock/transactions_controller.rb b/app/controllers/sherlock/transactions_controller.rb deleted file mode 100644 index 8d1847507cc..00000000000 --- a/app/controllers/sherlock/transactions_controller.rb +++ /dev/null @@ -1,21 +0,0 @@ -# frozen_string_literal: true - -module Sherlock - class TransactionsController < Sherlock::ApplicationController - def index - @transactions = Gitlab::Sherlock.collection.newest_first - end - - def show - @transaction = Gitlab::Sherlock.collection.find_transaction(params[:id]) - - render_404 unless @transaction - end - - def destroy_all - Gitlab::Sherlock.collection.clear - - redirect_back_or_default(options: { status: :found }) - end - end -end |