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

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Eastwood <contact@ericeastwood.com>2018-03-27 20:59:14 +0300
committerEric Eastwood <contact@ericeastwood.com>2018-03-27 21:13:48 +0300
commitfca02e24768ea11d2f04a58437cb5557fd3c93fa (patch)
treeff4ec31775938eccad3ab642388f10165adeb702 /app/helpers
parentde0c4730bb83b94195678e5ad4865ea648e6585f (diff)
Update styling and use Gitlab::Utils.to_boolean
Diffstat (limited to 'app/helpers')
-rw-r--r--app/helpers/page_layout_helper.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/helpers/page_layout_helper.rb b/app/helpers/page_layout_helper.rb
index bb782060e9b..a8397b03d63 100644
--- a/app/helpers/page_layout_helper.rb
+++ b/app/helpers/page_layout_helper.rb
@@ -39,8 +39,9 @@ module PageLayoutHelper
end
def favicon
- return 'favicon-yellow.ico' if ENV['CANARY'] == 'true'
+ return 'favicon-yellow.ico' if Gitlab::Utils.to_boolean(ENV['CANARY'])
return 'favicon-blue.ico' if Rails.env.development?
+
'favicon.ico'
end