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

9 lines
154 B
Ruby

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