lib/vundabar.rb in vundabar-0.1.0 vs lib/vundabar.rb in vundabar-0.2.0

- old
+ new

@@ -1,7 +1,8 @@ require "vundabar/version" -require 'active_support/inflector' +require "json" +require "active_support/inflector" require "vundabar/utilities" require "vundabar/dependencies" require "vundabar/routing/routing" require "vundabar/routing/mapper" require "vundabar/routing/route" @@ -20,9 +21,12 @@ end def call(env) request = Rack::Request.new(env) route = mapper.find_route(request) + # return invalid_route_processor(request) unless route + # call_controller_and_action(request, route[:klass_and_method]) + # if route call_controller_and_action(request, route[:klass_and_method]) else invalid_route_processor(request) end