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: 6bdd3568a7899d2bd2497363807dc32565a095bc (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