Maintenance: All models should inherit from ApplicationModel.
This commit is contained in:
parent
e2af543016
commit
b9c82a4c7f
2 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
|
||||
|
||||
class Notification < ActiveRecord::Base
|
||||
class Notification < ApplicationModel
|
||||
end
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
|
||||
|
||||
class Token < ActiveRecord::Base
|
||||
class Token < ApplicationModel
|
||||
before_create :generate_token
|
||||
belongs_to :user, optional: true
|
||||
store :preferences
|
||||
|
|
Loading…
Reference in a new issue