Sha256: 704f598a2616c70fe0f3edbb7c91e72a600c5bd64216bb6a902f48508ed27bee

Contents?: true

Size: 322 Bytes

Versions: 3

Compression:

Stored size: 322 Bytes

Contents

class Admin::UsersController < Puffer::Base

  setup do
    group :users
  end

  member do
    get :hello
  end

  collection do
    get :world
  end

  index do
    field :email
    field :password, :type => :password
    field :posts
  end

  form do
    field :email
    field :password, :type => :password
  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
puffer-0.0.32 spec/dummy/app/controllers/admin/users_controller.rb
puffer-0.0.31 spec/dummy/app/controllers/admin/users_controller.rb
puffer-0.0.30 spec/dummy/app/controllers/admin/users_controller.rb