Sha256: 66d753dbc988c565695269f33ce6faa23665a75257a2628e8a7df7711b031184
Contents?: true
Size: 638 Bytes
Versions: 1
Compression:
Stored size: 638 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rails_workflow-0.2.1 | spec/dummy/app/models/user.rb |