Basic fullcalendar integration

This commit is contained in:
2015-02-19 20:37:58 +01:00
parent c17442ad77
commit adeedb2f1b
34 changed files with 11018 additions and 8 deletions
+3 -1
View File
@@ -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