module Roda::RodaPlugins::Base::InstanceMethods

def _roda_handle_main_route

the result of the block.
Handle dispatching to the main route, catching :halt and handling
def _roda_handle_main_route
  catch(:halt) do
    r = @_request
    r.block_result(_roda_run_main_route(r))
    @_response.finish
  end
end