mirror of
https://github.com/internetee/registry.git
synced 2025-07-22 18:56:05 +02:00
Introduce negative predicate
This commit is contained in:
parent
9d74cd5673
commit
a1fb0e2e61
3 changed files with 7 additions and 3 deletions
|
@ -13,6 +13,10 @@ class Notification < ActiveRecord::Base
|
|||
save
|
||||
end
|
||||
|
||||
def unread?
|
||||
!read?
|
||||
end
|
||||
|
||||
# Needed for EPP log
|
||||
def name
|
||||
"-"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue