diff --git a/lib/mail_catcher/web.rb b/lib/mail_catcher/web.rb index 1cda8cc..8756c70 100644 --- a/lib/mail_catcher/web.rb +++ b/lib/mail_catcher/web.rb @@ -1,4 +1,3 @@ -require "active_support/core_ext/module/delegation" require "rack/builder" require "mail_catcher/web/application" @@ -16,6 +15,8 @@ module MailCatcher end end - delegate :call, :to => :app + def call(env) + app.call(env) + end end end