BigW Consortium Gitlab

Enable version check only for production environment

parent b3f5c679
module VersionCheckHelper
def version_status_badge
image_tag VersionCheck.new.url
if Rails.env.production?
image_tag VersionCheck.new.url
end
end
end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment