Sha256: e35fefa4a387e3e633c994464495b1fb716981d5f3eb7a27ca1d3e5f566f8945

Contents?: true

Size: 334 Bytes

Versions: 7

Compression:

Stored size: 334 Bytes

Contents

class Admin::ProfilesController < Puffer::Base

  configure do
    group :users
  end

  index do
    field 'user.email'
    field :name
    field :surname
    field :birth_date
  end

  form do
    field :user, :columns => [:email, :password]
    field :name
    field :surname
    field :birth_date
    field :created_at
  end

end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
puffer-0.0.15 spec/dummy/app/controllers/admin/profiles_controller.rb
puffer-0.0.14 spec/dummy/app/controllers/admin/profiles_controller.rb
puffer-0.0.13 spec/dummy/app/controllers/admin/profiles_controller.rb
puffer-0.0.12 spec/dummy/app/controllers/admin/profiles_controller.rb
puffer-0.0.11 spec/dummy/app/controllers/admin/profiles_controller.rb
puffer-0.0.10 spec/dummy/app/controllers/admin/profiles_controller.rb
puffer-0.0.9 spec/dummy/app/controllers/admin/profiles_controller.rb