lib/rapid_runty/application.rb in rapid_runty-0.1.3 vs lib/rapid_runty/application.rb in rapid_runty-0.1.4

- old
+ new

@@ -1,7 +1,8 @@ require 'rapid_runty/router/base_route' require 'rapid_runty/controller/base_controller' +require 'rapid_runty/model/base' module RapidRunty ## # Main framework Application class. Entry point for all requests. # @@ -19,12 +20,9 @@ # @param env [Hash] Rack environment Hash that includes CGI-like headers # # @return [status, {headers}, [response]] def call(env) request = Rack::Request.new(env) - response = Rack::Response.new - - handle(env, request, response) - response.finish + handle(env, request) end end end