Class: Comment

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
app/models/comment.rb

Instance Method Summary collapse

Instance Method Details

#statusObject



18
19
20
# File 'app/models/comment.rb', line 18

def status
  approved ? "approved" : "not approved"
end