Sha256: d6c525cfadd92fb98480447684db0d08ce44b7c58f3534eb4dbe5912c41dcb36
Contents?: true
Size: 501 Bytes
Versions: 32
Compression:
Stored size: 501 Bytes
Contents
module RocketCMS module Models module Mongoid module Page extend ActiveSupport::Concern included do field :regexp, type: String field :redirect, type: String field :content, type: String, localize: RocketCMS.configuration.localize field :fullpath, type: String has_and_belongs_to_many :menus, inverse_of: :pages acts_as_nested_set scope :sorted, -> { asc(:lft) } end end end end end
Version data entries
32 entries across 32 versions & 1 rubygems