extract dossier_state_column
This commit is contained in:
parent
242ab78235
commit
30fcb75da4
2 changed files with 8 additions and 4 deletions
|
@ -33,9 +33,9 @@ class Column
|
|||
}
|
||||
end
|
||||
|
||||
def notifications?
|
||||
table == 'notifications' && column == 'notifications'
|
||||
end
|
||||
def notifications? = [table, column] == ['notifications', 'notifications']
|
||||
|
||||
def dossier_state? = [table, column] == ['self', 'state']
|
||||
|
||||
def self.find(h_id)
|
||||
begin
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue