Forced to require files of inherent methods.
This commit is contained in:
parent
846414f445
commit
1eb83620b4
2 changed files with 6 additions and 0 deletions
|
@ -4,8 +4,11 @@ class Ticket < ApplicationModel
|
|||
include Ticket::Escalation
|
||||
include Ticket::Subject
|
||||
include Ticket::Permission
|
||||
require 'ticket/assets'
|
||||
include Ticket::Assets
|
||||
require 'ticket/history_log'
|
||||
include Ticket::HistoryLog
|
||||
require 'ticket/activity_stream_log'
|
||||
include Ticket::ActivityStreamLog
|
||||
extend Ticket::Search
|
||||
|
||||
|
|
|
@ -1,8 +1,11 @@
|
|||
# Copyright (C) 2012-2013 Zammad Foundation, http://zammad-foundation.org/
|
||||
|
||||
class Ticket::Article < ApplicationModel
|
||||
require 'ticket/article/assets'
|
||||
include Ticket::Article::Assets
|
||||
require 'ticket/article/history_log'
|
||||
include Ticket::Article::HistoryLog
|
||||
require 'ticket/article/activity_stream_log'
|
||||
include Ticket::Article::ActivityStreamLog
|
||||
|
||||
belongs_to :ticket
|
||||
|
|
Loading…
Reference in a new issue