Remove bridge presenter since we no longer need it

This commit is contained in:
Grzegorz Bizon 2019-01-23 12:06:30 +01:00
parent db33021d63
commit 8bd9f8ccef
1 changed files with 0 additions and 23 deletions

View File

@ -1,23 +0,0 @@
# frozen_string_literal: true
module Ci
class BridgePresenter < CommitStatusPresenter
def status_title
tooltip_for_badge
end
def tooltip_message
"#{subject.name} - #{detailed_status.status_tooltip}"
end
private
def tooltip_for_badge
detailed_status.badge_tooltip.capitalize
end
def detailed_status
@detailed_status ||= subject.detailed_status(user)
end
end
end