aboutsummaryrefslogtreecommitdiffstats
path: root/app/helpers/health_checks_helper.rb
blob: b2f1f9de55c6eb48fbc3f03cbd1dfc32b1308689 (plain)
1
2
3
4
5
6
7
8
9
# -*- encoding : utf-8 -*-
module HealthChecksHelper

    def check_status(check)
        style = check.ok? ? '' : 'color: red'
        content_tag(:b, check.message, :style => style)
    end

end