Method: Egalite::Handler#inner_dispatch
- Defined in:
- lib/egalite.rb
#inner_dispatch(req, values) ⇒ Object
544 545 546 547 548 549 550 551 552 553 |
# File 'lib/egalite.rb', line 544 def inner_dispatch(req, values) # recursive controller call to handle include tag or delegate. stringified = StringifyHash.create(values) (path, params) = req.route.get_path_and_params_from_params(stringified) newreq = req.clone newreq.params = params method = 'GET' method = values[:http_method] if values[:http_method] dispatch(path, params, method, newreq) end |