debian-mirror-gitlab/app/models/concerns/editable.rb
2017-08-17 22:00:37 +05:30

7 lines
136 B
Ruby

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