Sha256: 0b947f8c1d3c239ae5ab0a205f08674fb92ffc73b9c0e97a894db3444870a52e
Contents?: true
Size: 295 Bytes
Versions: 6
Compression:
Stored size: 295 Bytes
Contents
require 'active_support/core_ext/object/try' require 'active_support/core_ext/hash/slice' module ActionDispatch::Routing class Mapper def lazy_render_for(path, *block) options = block.extract_options! match "#{path}", to: "#{options[:to]}#load", via: 'post' end end end
Version data entries
6 entries across 6 versions & 1 rubygems