Sha256: 2fb1dd1d961b15a45917bcadedaa7f4d77ec054080eac1f99deb95965b703625
Contents?: true
Size: 446 Bytes
Versions: 3
Compression:
Stored size: 446 Bytes
Contents
# encoding: utf-8 module SportDbAdmin module RoutesHelper ############################## # routes for shortcuts def short_country_path( country ) short_country_worker_path( country.key ) end def short_team_path( team ) short_team_worker_path( team.key ) end def short_event_path( event ) key = event.key.tr('/', '_') short_event_worker_path( key ) end end # module RoutesHelper end # module SportDbAdmin
Version data entries
3 entries across 3 versions & 1 rubygems