- add_comment(@note, comment, "hidden", false)
+ add_comment(@note, comment, "hidden", :notify => false)
elsif closed_since.positive?
notes.where(:status => "open")
.or(notes.where(:status => "closed")
elsif closed_since.positive?
notes.where(:status => "open")
.or(notes.where(:status => "closed")
- def add_comment(note, text, event, notify = true)
+ def add_comment(note, text, event, notify: true)