Maintenance: All models should inherit from ApplicationModel.

This commit is contained in:
Thorsten Eckel 2019-10-15 12:15:58 +02:00
parent e2af543016
commit b9c82a4c7f
2 changed files with 2 additions and 2 deletions

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
class Notification < ActiveRecord::Base
class Notification < ApplicationModel
end

View file

@ -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