gitlab-org--gitlab-foss/app/controllers/sherlock/application_controller.rb
2017-02-23 09:32:22 -06:00

12 lines
299 B
Ruby

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