Sha256: bf8808b40992657f54e6620eea1bc42f0caa4937e04ca76d44d5d02fbe0c2bb1

Contents?: true

Size: 359 Bytes

Versions: 2

Compression:

Stored size: 359 Bytes

Contents

class Admin::UsersController < Puffer::Base

  setup do
    group :users
    order 'email desc'
    show true
  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

2 entries across 2 versions & 1 rubygems

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