debian-mirror-gitlab/app/helpers/startup_css_helper.rb
2020-11-24 15:15:51 +05:30

7 lines
215 B
Ruby

# frozen_string_literal: true
module StartupCssHelper
def use_startup_css?
(Feature.enabled?(:startup_css) || params[:startup_css] == 'true' || cookies['startup_css'] == 'true') && !Rails.env.test?
end
end