From 2f7325fee47cf21b4bb94dec427e524a83340e98 Mon Sep 17 00:00:00 2001 From: Du Peng Date: Thu, 9 Sep 2021 17:36:04 +0200 Subject: [PATCH] fix bug: statistics dont show in nav menu after login --- app/policies/setting_policy.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/policies/setting_policy.rb b/app/policies/setting_policy.rb index a4e1dd86d..472a8206a 100644 --- a/app/policies/setting_policy.rb +++ b/app/policies/setting_policy.rb @@ -39,7 +39,7 @@ class SettingPolicy < ApplicationPolicy tracking_id book_overlapping_slots slot_duration events_in_calendar spaces_module plans_module invoicing_module recaptcha_site_key feature_tour_display disqus_shortname allowed_cad_extensions openlab_app_id openlab_default online_payment_module stripe_public_key confirmation_required wallet_module trainings_module address_required - payment_gateway payzen_endpoint payzen_public_key public_agenda_module renew_pack_threshold] + payment_gateway payzen_endpoint payzen_public_key public_agenda_module renew_pack_threshold statistics_module] end ##