Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Accept app as the first argument

  • Loading branch information...
commit fad2640b8fd70b3144cc26281be2decf53d66d4c 1 parent c7b6ceb
Tony Arcieri authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/pistachio/middleware.rb
View
4 lib/pistachio/middleware.rb
@@ -1,6 +1,6 @@
module Pistachio
class Middleware
- def initialize
+ def initialize(app)
# Matches messages that should be processed by Pistachio
@path_regex = /^#{Pistachio.path}\/(\w+)$/
@timeout = Pistachio.timeout
@@ -20,4 +20,4 @@ def call(env)
end
end
end
-end
+end
Please sign in to comment.
Something went wrong with that request. Please try again.