Sha256: 417d115aeae3cbee66cdb6cf77b36b75fe008d31d82f0663aaf1a9bdea0d7197
Contents?: true
Size: 434 Bytes
Versions: 3
Compression:
Stored size: 434 Bytes
Contents
# encoding: utf-8 module BeerDbAdmin module RoutesHelper ############################## ## routes for shortcuts def short_country_path( country, opts={} ) short_country_worker_path( country.key, opts ) end =begin def short_tag_path( tag, opts={} ) ## NB: tag needs slug NOT key (key may contain spaces) short_tag_worker_path( tag.slug, opts ) end =end end # module RoutesHelper end # moudle BeerDbAdmin
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
beerdb-admin-0.1.1 | app/helpers/beer_db_admin/routes_helper.rb |
beerdb-admin-0.1.0 | app/helpers/beer_db_admin/routes_helper.rb |
beerdb-admin-0.0.1 | app/helpers/beer_db_admin/routes_helper.rb |