Sha256: a26fc262e3610fcbec658866bfc31539579e140f8c9d43ee0ecfb94827c11839

Contents?: true

Size: 296 Bytes

Versions: 4

Compression:

Stored size: 296 Bytes

Contents

# encoding: utf-8

module BeerDbAdmin

class BrandsController < BeerDbAdminController
  
  def index
    @brands = Brand.all
  end
  
=begin  
  # GET /brands/:id e.g. /brands/1
  def show
    @brand = Brand.find( params[:id] )
  end
=end

end # class BrandsController

end # module BeerDbAdmin

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
beerdb-admin-0.1.2 app/controllers/beer_db_admin/brands_controller.rb
beerdb-admin-0.1.1 app/controllers/beer_db_admin/brands_controller.rb
beerdb-admin-0.1.0 app/controllers/beer_db_admin/brands_controller.rb
beerdb-admin-0.0.1 app/controllers/beer_db_admin/brands_controller.rb