From 2fcd9da41f2b5aabeca25886c6aa743e6f60d3ea Mon Sep 17 00:00:00 2001 From: Rafal Cymerys Date: Thu, 2 Nov 2023 10:08:39 +0100 Subject: [PATCH] Use dedicated deprecator --- app/helpers/spree/admin/navigation_helper.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/helpers/spree/admin/navigation_helper.rb b/app/helpers/spree/admin/navigation_helper.rb index 53451567ce..dfecab836c 100644 --- a/app/helpers/spree/admin/navigation_helper.rb +++ b/app/helpers/spree/admin/navigation_helper.rb @@ -272,7 +272,7 @@ def active_badge(condition, options = {}) end def main_part_classes - ActiveSupport::Deprecation.warn(<<-DEPRECATION, caller) + Spree::Deprecation.warn(<<-DEPRECATION, caller) Admin::NavigationHelper#main_part_classes is deprecated and will be removed in Spree 5.0. DEPRECATION if cookies['sidebar-minimized'] == 'true' @@ -283,7 +283,7 @@ def main_part_classes end def main_sidebar_classes - ActiveSupport::Deprecation.warn(<<-DEPRECATION, caller) + Spree::Deprecation.warn(<<-DEPRECATION, caller) Admin::NavigationHelper#main_sidebar_classes is deprecated and will be removed in Spree 5.0. DEPRECATION if cookies['sidebar-minimized'] == 'true' @@ -294,7 +294,7 @@ def main_sidebar_classes end def wrapper_classes - ActiveSupport::Deprecation.warn(<<-DEPRECATION, caller) + Spree::Deprecation.warn(<<-DEPRECATION, caller) Admin::NavigationHelper#wrapper_classes is deprecated and will be removed in Spree 5.0. DEPRECATION 'sidebar-minimized' if cookies['sidebar-minimized'] == 'true'