Sha256: 5097e800ddfee7b83c67c6246379d286f958f0a9b59208396ae8b7e1e54aa9f6

Contents?: true

Size: 407 Bytes

Versions: 1

Compression:

Stored size: 407 Bytes

Contents

class Admin::ProfilesController < Puffer::GridBase

  setup do
    group :users
  end

  index do
    field 'user.email'
    field :name
    field :surname
    field :avatar
    field :birth_date, :format => :long
  end

  form do
    field :user do
      field :email
      field :password
    end
    field :name
    field :surname
    field :avatar
    field :birth_date
    field :created_at
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
puffer-0.1.1 spec/dummy/app/controllers/admin/profiles_controller.rb