2015-02-12 23:31:55 -05:00
|
|
|
module VersionCheckHelper
|
|
|
|
def version_status_badge
|
2015-09-23 16:26:15 -04:00
|
|
|
if Rails.env.production? && current_application_settings.version_check_enabled
|
2015-05-11 11:23:40 -04:00
|
|
|
image_tag VersionCheck.new.url
|
|
|
|
end
|
2015-02-12 23:31:55 -05:00
|
|
|
end
|
|
|
|
end
|