Basic fullcalendar integration
This commit is contained in:
@@ -3,7 +3,8 @@ class Employee
|
||||
include ActiveModel::SerializerSupport
|
||||
DEFAULT_SETTINGS = {
|
||||
'manager' => false,
|
||||
'active' => true
|
||||
'active' => true,
|
||||
'color' => '#3a87ad'
|
||||
}
|
||||
attr_accessor *DEFAULT_SETTINGS.keys
|
||||
attr_reader :settings
|
||||
@@ -15,6 +16,7 @@ class Employee
|
||||
property :name
|
||||
#property :email
|
||||
|
||||
has_many :employee_shifts
|
||||
view :by_email, key: :email
|
||||
|
||||
class << self
|
||||
|
||||
Reference in New Issue
Block a user