Sha256: 0c799fc742c8005f12ccc9ac7d04bc69b95fdd4680a01336a6337bbb614ded80

Contents?: true

Size: 233 Bytes

Versions: 1

Compression:

Stored size: 233 Bytes

Contents

module Pageflow
  # @api private
  class PermalinkDirectory < ApplicationRecord
    belongs_to :theming

    validates(:path,
              format: %r{\A([0-9a-zA-Z-]+/)*\z},
              uniqueness: {scope: :theming_id})
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pageflow-15.8.0 app/models/pageflow/permalink_directory.rb