Sha256: ebb10f3ce2e0e7518ca236092c2d08f369f82dc117110c2c6098ef6f4612da6e

Contents?: true

Size: 350 Bytes

Versions: 5

Compression:

Stored size: 350 Bytes

Contents

class Admin::PostsController < Puffer::Base

  setup do
    group :posting
  end

  index do
    field 'user.email'
    field :status, :select => Post.statuses
    field :title
    field :body
  end

  form do
    field :user
    field :status, :select => Post.statuses
    field :title
    field :body
    field :filename, :type => :file
  end

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
puffer-0.1.1 spec/dummy/app/controllers/admin/posts_controller.rb
puffer-0.1.0 spec/dummy/app/controllers/admin/posts_controller.rb
puffer-0.0.32 spec/dummy/app/controllers/admin/posts_controller.rb
puffer-0.0.31 spec/dummy/app/controllers/admin/posts_controller.rb
puffer-0.0.30 spec/dummy/app/controllers/admin/posts_controller.rb