app/models/pulitzer/sequence_flow_style.rb in pulitzer-0.15.12 vs app/models/pulitzer/sequence_flow_style.rb in pulitzer-0.15.13

- old
+ new

@@ -1,11 +1,15 @@ module Pulitzer - class SequenceFlowStyle < ActiveRecord::Base + class SequenceFlowStyle < Pulitzer::ApplicationRecord belongs_to :post_type_version has_many :partials validates :display_name, presence: true validates :css_class_name, presence: true + def self.export_config + {except: :id} + end + def clone_me clone_attrs = self.attributes.dup clone_attrs.delete 'id' clone_attrs.delete 'post_type_version_id' Pulitzer::SequenceFlowStyle.new(clone_attrs)