mirror of
https://github.com/moparisthebest/mailcatcher
synced 2024-12-21 23:08:54 -05:00
Just use a method
This commit is contained in:
parent
d932eff261
commit
c29336b78d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user