diff options
author | Eric Eastwood <contact@ericeastwood.com> | 2018-03-27 12:59:14 -0500 |
---|---|---|
committer | Eric Eastwood <contact@ericeastwood.com> | 2018-03-27 13:13:48 -0500 |
commit | fca02e24768ea11d2f04a58437cb5557fd3c93fa (patch) | |
tree | ff4ec31775938eccad3ab642388f10165adeb702 /app/helpers | |
parent | de0c4730bb83b94195678e5ad4865ea648e6585f (diff) | |
download | gitlab-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.rb | 3 |
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 |