Sha256: 59b1c19cc0b96e013f5cbe8eb39865777856be52400939e7398525f74856a063
Contents?: true
Size: 314 Bytes
Versions: 35
Compression:
Stored size: 314 Bytes
Contents
module Alchemy module Solidus module AlchemyUserExtension def self.included(klass) klass.include Spree::UserMethods end def spree_roles if admin? ::Spree::Role.where(name: 'admin') else ::Spree::Role.none end end end end end
Version data entries
35 entries across 35 versions & 1 rubygems