summaryrefslogtreecommitdiff
path: root/app/helpers
diff options
context:
space:
mode:
authorEric Eastwood <contact@ericeastwood.com>2018-03-27 12:59:14 -0500
committerEric Eastwood <contact@ericeastwood.com>2018-03-27 13:13:48 -0500
commitfca02e24768ea11d2f04a58437cb5557fd3c93fa (patch)
treeff4ec31775938eccad3ab642388f10165adeb702 /app/helpers
parentde0c4730bb83b94195678e5ad4865ea648e6585f (diff)
downloadgitlab-ce-fca02e24768ea11d2f04a58437cb5557fd3c93fa.tar.gz
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