Sha256: fc131162088b0a65fbcc3deba0766e1ddc536211a3d22f842a9bc5304a3b6798
Contents?: true
Size: 337 Bytes
Versions: 3
Compression:
Stored size: 337 Bytes
Contents
# encoding: utf-8 module BeerDbAdmin class BeersController < BeerDbAdminController def index # note: show 25 per page for now @beers = Beer.limit( 25 ) end # GET /beers/:id e.g. /beers/1 def show @beer = Beer.find( params[:id] ) end end # class BeersController end # module BeerDbAdmin
Version data entries
3 entries across 3 versions & 1 rubygems