summaryrefslogtreecommitdiff
path: root/app/helpers/profiles_helper.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/helpers/profiles_helper.rb')
-rw-r--r--app/helpers/profiles_helper.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/helpers/profiles_helper.rb b/app/helpers/profiles_helper.rb
index e7aa92e6e5c..a6a57db3002 100644
--- a/app/helpers/profiles_helper.rb
+++ b/app/helpers/profiles_helper.rb
@@ -9,4 +9,8 @@ module ProfilesHelper
end
end
end
+
+ def show_user_status_field?
+ Feature.enabled?(:user_status_form) || cookies[:feature_user_status_form] == 'true'
+ end
end