Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Lets call it grape.

commit cd3175d02181459b64bec06fb6fa08f605a4866c 1 parent 53f1744
Daniel Doubrovkine (dB.) @dblockdotorg dblock authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/newrelic-grape/instrument.rb
4 lib/newrelic-grape/instrument.rb
View
@@ -53,10 +53,10 @@ def disabled?
executes do
::Grape::Endpoint.class_eval do
- alias_method :origin_build_middleware, :build_middleware
+ alias_method :grape_build_middleware, :build_middleware
def build_middleware
- builder = origin_build_middleware
+ builder = grape_build_middleware
builder.use ::NewRelic::Agent::Instrumentation::Grape
builder
end
Please sign in to comment.
Something went wrong with that request. Please try again.