Module: Cream::UserTypes

Defined in:
lib/cream/role.rb

Class Method Summary collapse

Class Method Details

.availableObject



8
9
10
11
12
13
# File 'lib/cream/role.rb', line 8

def self.available
  return Cream.available_user_types if Cream.available_user_types.present?
  return Cream.user_types if Cream.user_types.present?
  puts "Cream has not been configured with any devise User Types"
  []
end