scinote-web/app/serializers/concerns/timestampable_model.rb

10 lines
154 B
Ruby
Raw Normal View History

# frozen_string_literal: true
module TimestampableModel
extend ActiveSupport::Concern
included do
attributes :created_at, :updated_at
end
end