lib/spiderfw/http/adapters/webrick.rb in spiderfw-0.6.20 vs lib/spiderfw/http/adapters/webrick.rb in spiderfw-0.6.21
- old
+ new
@@ -130,12 +130,12 @@
run_block = lambda do
begin
controller = ::Spider::HTTPController.new(controller_request, controller_response)
controller.extend(Spider::FirstResponder)
- controller.before(path)
+ controller.call_before(path)
controller.execute(path)
- controller.after(path)
+ controller.call_after(path)
Spider::Logger.debug("Controller done")
rescue => exc
Spider.logger.debug("Error:")
Spider.logger.debug(exc)
controller.ensure() if controller