Sha256: 16ef4a34aa4223cf312c6f1deeeb6e992f7fc568ced8273a25dcefd9916fc823
Contents?: true
Size: 354 Bytes
Versions: 2
Compression:
Stored size: 354 Bytes
Contents
class Admin::PostsController < Puffer::Base setup do group :posting end index do field 'user.email' field :status field :title field :body end form do field :user do field :email end field :status, :select => Post.statuses field :title field :body field :filename, :type => :file end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
puffer-0.0.25 | spec/dummy/app/controllers/admin/posts_controller.rb |
puffer-0.0.24 | spec/dummy/app/controllers/admin/posts_controller.rb |