summaryrefslogtreecommitdiff
path: root/app/models/concerns/editable.rb
blob: c62c7e1e93665407363423e2416a8199a86df8f0 (plain)
1
2
3
4
5
6
7
module Editable
  extend ActiveSupport::Concern

  def is_edited?
    last_edited_at.present? && last_edited_at != created_at
  end
end