We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 40e6f7b commit 217e4d5Copy full SHA for 217e4d5
lib/grape/middleware/error.rb
@@ -18,7 +18,7 @@ class Error < Base
18
19
def initialize(app, **options)
20
super
21
- self.class.include(options.delete(:helpers)) if options[:helpers]
+ self.class.include(options[:helpers]) if options[:helpers]
22
end
23
24
def call!(env)
0 commit comments