Sha256: 3f06beb25e4dafd496112a023d5c598ae338884d4a41d62ec840f3dd45381da7
Contents?: true
Size: 292 Bytes
Versions: 1
Compression:
Stored size: 292 Bytes
Contents
class Admin::NewsController < Puffer::Base setup do group :news end index do field :title field :body field :renderable, :render => lambda { @record.title } #field :renderable2, :render => :render_title end form do field :title field :body end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
puffer-0.1.1 | spec/dummy/app/controllers/admin/news_controller.rb |