Sha256: 10729656fa4524d4600a8b9dc39bd83edf3efc960e2650745c7aa532960bc380
Contents?: true
Size: 477 Bytes
Versions: 5
Compression:
Stored size: 477 Bytes
Contents
module Tramway::Admin module RecordRoutesHelper def record_path(*args, **options) super args, options.merge(model: params[:model]) end def edit_record_path(*args, **options) super args, options.merge(model: params[:model]) end def new_record_path(*args, **options) super args, options.merge(model: params[:model]) end def records_path(*args, **options) super args, options.merge(model: params[:model]) end end end
Version data entries
5 entries across 5 versions & 1 rubygems