Module: Roda::RodaPlugins::AutoForme::InstanceMethods
- Defined in:
- lib/roda/plugins/autoforme.rb
Instance Method Summary collapse
-
#autoforme(name = nil) ⇒ Object
If this route matches the named or default AutoForme route, dispatch to AutoForme.
Instance Method Details
#autoforme(name = nil) ⇒ Object
If this route matches the named or default AutoForme route, dispatch to AutoForme.
46 47 48 |
# File 'lib/roda/plugins/autoforme.rb', line 46 def autoforme(name=nil) instance_exec(&self.class.autoforme_route(name)) end |