summaryrefslogtreecommitdiff
path: root/app/helpers/startup_css_helper.rb
blob: b54e19bfc0d143289fbf722438a015cf68132bca (plain)
1
2
3
4
5
6
7
# 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