# encoding: UTF-8 module Spontaneous::Plugins::Site module Paths extend ActiveSupport::Concern module ClassMethods def paths(group) instance.facets.flat_map { |facet| facet.paths.expanded(group) } end end # ClassMethods end # Paths end