Sha256: 5dec1d4828a15ffcb16d808dc581f6666a52274a464491452c9112070abfebf5

Contents?: true

Size: 144 Bytes

Versions: 6

Compression:

Stored size: 144 Bytes

Contents

module Cms
  class Redirect < ActiveRecord::Base
    validates_presence_of :from_path, :to_path
    validates_uniqueness_of :from_path
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
browsercms-3.4.2 app/models/cms/redirect.rb
browsercms-3.4.2.rc1 app/models/cms/redirect.rb
browsercms-3.4.1 app/models/cms/redirect.rb
browsercms-3.4.0 app/models/cms/redirect.rb
browsercms-3.4.0.rc2 app/models/cms/redirect.rb
browsercms-3.4.0.rc1 app/models/cms/redirect.rb