Sha256: 15327036ab41e8746570037532a1fba8dce653eab5d807b0ef8d85c8cff0a10e
Contents?: true
Size: 458 Bytes
Versions: 10
Compression:
Stored size: 458 Bytes
Contents
module Alchemy::Custom::Model module GlobalizeModelDecoration extend ActiveSupport::Concern included do include GlobalIdSetter include MenuMethods include ModelUtilsMethods include SitemapMethods def self.use_friendly(base = nil, options = {}, &block) extend FriendlyId self.friendly_id(base, options.merge(use: [:globalize]), &block) include SlugOptimizer end end end end
Version data entries
10 entries across 10 versions & 1 rubygems