From 36537fd0be54224093039e5246198033389f2d45 Mon Sep 17 00:00:00 2001 From: Filippo Liverani <1382917+filippoliverani@users.noreply.github.com> Date: Fri, 10 Jan 2020 16:43:30 +0100 Subject: [PATCH] Use ActiveSupport::Concern syntax in Permalinks --- core/lib/spree/core/permalinks.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/lib/spree/core/permalinks.rb b/core/lib/spree/core/permalinks.rb index 8e1df41ccc9..8de8981fa5e 100644 --- a/core/lib/spree/core/permalinks.rb +++ b/core/lib/spree/core/permalinks.rb @@ -9,7 +9,7 @@ module Permalinks class_attribute :permalink_options end - module ClassMethods + class_methods do def make_permalink(options = {}) options[:field] ||= :permalink self.permalink_options = options