lib/roda/plugins/hooks.rb in roda-1.0.0 vs lib/roda/plugins/hooks.rb in roda-1.1.0

- old
+ new

@@ -28,10 +28,10 @@ # # However, this code makes it easier to write after hooks, as well as # handle cases where before hooks are added after the route block. module Hooks def self.configure(app) - @app.instance_exec do + app.instance_exec do @after ||= nil @before ||= nil end end