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:
authorTaurie Davis, Simon Knox and Adam Niedzielski <awesome@gitlab.com>2017-05-24 13:25:44 +0300
committerAdam Niedzielski <adamsunday@gmail.com>2017-06-01 18:37:21 +0300
commit26dde5f55f1dac2e6bea4f7e1dfa51c72dc756cb (patch)
treef0168cb9ad0be7c4bf8657a5321e5da0bda8e83b /app/helpers/application_helper.rb
parentc72abcefe79dd906cbbf0088b442a8979e9fc746 (diff)
Add Conversational Development Index page to admin panel
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 36d9090b3ae..f422c48329c 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].nil?
+ def show_callout?(name)
+ cookies[name] != 'true'
end
def linkedin_url(user)