Sha256: 4606a4967446ef3aae39ed2f7bfb9ada2c380a9fd855b8ed9dffdcc2038fcae9

Contents?: true

Size: 367 Bytes

Versions: 1

Compression:

Stored size: 367 Bytes

Contents

class Admin::ProfilesController < Puffer::Base

  setup do
    group :users
  end

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

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

end

Version data entries

1 entries across 1 versions & 1 rubygems

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