We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31dfb73 commit d5ad336Copy full SHA for d5ad336
app/controllers/application_controller.rb
@@ -18,6 +18,11 @@ def set_reporting_time_zone
18
Groupdate.time_zone = "UTC"
19
end
20
21
+ def current_enabled_features
22
+ @current_enabled_features ||= Flipper.features.select { |feature| feature.enabled?(current_admin) }.map(&:name)
23
+ end
24
+ helper_method :current_enabled_features
25
+
26
private
27
28
# Send a user to the admins index after sending invitations
config/initializers/01_extensions.rb
@@ -1 +1,3 @@
1
+require "simple_server_extensions"
2
+require "metrics"
3
require "extensions/fetch_multi_fix"
0 commit comments