lib/grape/dsl/inside_route.rb in grape-2.1.0 vs lib/grape/dsl/inside_route.rb in grape-2.1.1
- old
+ new
@@ -459,8 +459,12 @@
end
def http_version
env['HTTP_VERSION'] || env[Rack::SERVER_PROTOCOL]
end
+
+ def context
+ self
+ end
end
end
end