2013-06-12 15:59:58 +00:00
|
|
|
# Copyright (C) 2012-2013 Zammad Foundation, http://zammad-foundation.org/
|
|
|
|
|
2012-09-20 12:08:02 +00:00
|
|
|
class Template < ApplicationModel
|
2013-07-23 16:45:28 +00:00
|
|
|
store :options
|
|
|
|
validates :name, :presence => true
|
|
|
|
after_create :notify_clients_after_create
|
|
|
|
after_update :notify_clients_after_update
|
|
|
|
after_destroy :notify_clients_after_destroy
|
2013-06-12 15:59:58 +00:00
|
|
|
end
|