summaryrefslogtreecommitdiff
path: root/app/helpers/application_helper.rb
diff options
context:
space:
mode:
authorSimon Knox <psimyn@gmail.com>2017-05-17 23:29:54 +1000
committerSimon Knox <psimyn@gmail.com>2017-05-26 21:35:00 +1000
commit09c2cc9a074dd072932ccf61ac03610d277c2a60 (patch)
tree26dbb077e4d6158580afef8a8d4de1c97d989f57 /app/helpers/application_helper.rb
parenta5f0656392699dad7677a368c315217ea99b3982 (diff)
downloadgitlab-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.rb4
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)