Welcome to mirror list, hosted at ThFree Co, Russian Federation.

startup_css_helper.rb « helpers « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
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