lib/rasti/web/router.rb in rasti-web-0.0.4 vs lib/rasti/web/router.rb in rasti-web-0.0.5
- old
+ new
@@ -17,10 +17,10 @@
end
def call(env)
route = route_for env
env[ROUTE_PARAMS] = route.extract_params env['PATH_INFO']
- route.endpoint.call env
+ route.call env
end
private
def routes
\ No newline at end of file