Sha256: 3392e64d48ed339b02c352425d3757082b16999c21ff021e3f040b561686983e
Contents?: true
Size: 606 Bytes
Versions: 118
Compression:
Stored size: 606 Bytes
Contents
# frozen_string_literal: true module Tramway module Admin module RecordRoutesHelper def record_path(*args, **options) options[:model] ||= params[:model] super args, options end def edit_record_path(*args, **options) options[:model] ||= params[:model] super args, options end def new_record_path(*args, **options) options[:model] ||= params[:model] super args, options end def records_path(*args, **options) options[:model] ||= params[:model] super args, options end end end end
Version data entries
118 entries across 118 versions & 1 rubygems