Welcome to mirror list, hosted at ThFree Co, Russian Federation.

application_controller.rb « sherlock « controllers « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 682ca5e382155f51ccc84432c29b9ecb13ea296a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
module Sherlock
  class ApplicationController < ::ApplicationController
    before_action :find_transaction

    def find_transaction
      if params[:transaction_id]
        @transaction = Gitlab::Sherlock.collection.
          find_transaction(params[:transaction_id])
      end
    end
  end
end