Sha256: 90520df5d529ad5d191529ed0b5e79c4d28b5608aa8c61033eafb936a3324575

Contents?: true

Size: 615 Bytes

Versions: 10

Compression:

Stored size: 615 Bytes

Contents

class PufferPages::PagesController < Puffer::TreeBase
  unloadable

  view_paths_fallbacks_prepend :puffer_pages
  helper :puffer_pages

  setup do
    group :cms
  end

  tree do
    field :name, :render => :tree_page
  end

  index do
    field :name
    field :slug
    field :layout_name
    field :status
  end

  form do
    field :name
    field :slug
    field :page_parts, :type => :page_parts
    field :layout_name, :select => :possible_layouts
    field :status, :select => :possible_statuses
    field :title
    field :description
    field :keywords
    field :parent_id, :type => :hidden
  end

end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
puffer_pages-0.0.14 app/controllers/puffer_pages/pages_controller.rb
puffer_pages-0.0.13 app/controllers/puffer_pages/pages_controller.rb
puffer_pages-0.0.12 app/controllers/puffer_pages/pages_controller.rb
puffer_pages-0.0.11 app/controllers/puffer_pages/pages_controller.rb
puffer_pages-0.0.10 app/controllers/puffer_pages/pages_controller.rb
puffer_pages-0.0.9 app/controllers/puffer_pages/pages_controller.rb
puffer_pages-0.0.8 app/controllers/puffer_pages/pages_controller.rb
puffer_pages-0.0.7 app/controllers/puffer_pages/pages_controller.rb
puffer_pages-0.0.6 app/controllers/puffer_pages/pages_controller.rb
puffer_pages-0.0.5 app/controllers/puffer_pages/pages_controller.rb