Class: ActionDispatch::Routing::Mapper
- Inherits:
-
Object
- Object
- ActionDispatch::Routing::Mapper
- Defined in:
- lib/lazy_render/rails/routes.rb
Instance Method Summary collapse
Instance Method Details
#lazy_render_for(path, *block) ⇒ Object
6 7 8 9 |
# File 'lib/lazy_render/rails/routes.rb', line 6 def lazy_render_for(path, *block) = block. match "#{path}", to: "#{[:to]}#load", via: 'post' end |