gitlab-org--gitlab-foss/app/models/concerns/editable.rb

7 lines
136 B
Ruby

module Editable
extend ActiveSupport::Concern
def is_edited?
last_edited_at.present? && last_edited_at != created_at
end
end