mirror of
https://github.com/internetee/registry.git
synced 2025-07-25 12:08:27 +02:00
parent
90ed23f64d
commit
b6ecae6a35
41 changed files with 1239 additions and 61 deletions
|
@ -1,6 +1,8 @@
|
|||
class Notification < ActiveRecord::Base
|
||||
include Versions # version/notification_version.rb
|
||||
|
||||
belongs_to :registrar
|
||||
belongs_to :action
|
||||
|
||||
scope :unread, -> { where(read: false) }
|
||||
|
||||
|
@ -20,7 +22,7 @@ class Notification < ActiveRecord::Base
|
|||
|
||||
# Needed for EPP log
|
||||
def name
|
||||
"-"
|
||||
''
|
||||
end
|
||||
|
||||
private
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue