Forced to require files of inherent methods.

This commit is contained in:
Martin Edenhofer 2014-01-22 15:10:58 +01:00
parent 846414f445
commit 1eb83620b4
2 changed files with 6 additions and 0 deletions

View file

@ -4,8 +4,11 @@ class Ticket < ApplicationModel
include Ticket::Escalation include Ticket::Escalation
include Ticket::Subject include Ticket::Subject
include Ticket::Permission include Ticket::Permission
require 'ticket/assets'
include Ticket::Assets include Ticket::Assets
require 'ticket/history_log'
include Ticket::HistoryLog include Ticket::HistoryLog
require 'ticket/activity_stream_log'
include Ticket::ActivityStreamLog include Ticket::ActivityStreamLog
extend Ticket::Search extend Ticket::Search

View file

@ -1,8 +1,11 @@
# Copyright (C) 2012-2013 Zammad Foundation, http://zammad-foundation.org/ # Copyright (C) 2012-2013 Zammad Foundation, http://zammad-foundation.org/
class Ticket::Article < ApplicationModel class Ticket::Article < ApplicationModel
require 'ticket/article/assets'
include Ticket::Article::Assets include Ticket::Article::Assets
require 'ticket/article/history_log'
include Ticket::Article::HistoryLog include Ticket::Article::HistoryLog
require 'ticket/article/activity_stream_log'
include Ticket::Article::ActivityStreamLog include Ticket::Article::ActivityStreamLog
belongs_to :ticket belongs_to :ticket