Sha256: c25373aad4af31eb2d2a5c231fa087c7da695d4016f79fdcaa598440b98451d8
Contents?: true
Size: 633 Bytes
Versions: 9
Compression:
Stored size: 633 Bytes
Contents
class User < ActiveRecord::Base # Include default devise modules. Others available are: # :confirmable, :lockable, :timeoutable and :omniauthable devise :database_authenticatable, :registerable, :recoverable, :rememberable, :trackable, :validatable include RailsWorkflow::User::Assignment def self.get_role_values [ ['Admin', :admin] ] end def self.get_group_values [ ['Sales Team', :sales_team], ['Admin', :admin], ['Customer Support Team', :support_team], ['Stock team', :stock_team], ['Provisioning Team', :provisioning_team] ] end end
Version data entries
9 entries across 9 versions & 1 rubygems