lib/alchemy/solidus/spree_user_extension.rb in alchemy-solidus-7.1.0 vs lib/alchemy/solidus/spree_user_extension.rb in alchemy-solidus-7.3.2

- old
+ new

@@ -3,9 +3,13 @@ module SpreeUserExtension def self.included(klass) klass.has_many :folded_pages, class_name: "Alchemy::FoldedPage" end + def alchemy_display_name + email + end + def alchemy_roles if has_spree_role?(:admin) %w(admin) else []