diff options
author | Simon Knox <psimyn@gmail.com> | 2017-05-17 23:29:54 +1000 |
---|---|---|
committer | Simon Knox <psimyn@gmail.com> | 2017-05-26 21:35:00 +1000 |
commit | 09c2cc9a074dd072932ccf61ac03610d277c2a60 (patch) | |
tree | 26dbb077e4d6158580afef8a8d4de1c97d989f57 /app/helpers/application_helper.rb | |
parent | a5f0656392699dad7677a368c315217ea99b3982 (diff) | |
download | gitlab-ce-30469-convdev-index-frontend.tar.gz |
add convdev index page30469-convdev-index-frontend
Diffstat (limited to 'app/helpers/application_helper.rb')
-rw-r--r-- | app/helpers/application_helper.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index e5e64650708..1b06af5abb9 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -275,8 +275,8 @@ module ApplicationHelper 'active' if condition end - def show_user_callout? - cookies[:user_callout_dismissed] == 'true' + def show_callout(name) + cookies[name] != 'true' end def linkedin_url(user) |