lib/grape/app/configuration.rb in grape-app-0.8.4 vs lib/grape/app/configuration.rb in grape-app-0.8.5
- old
+ new
@@ -1,7 +1,6 @@
class Grape::App::Configuration < ActiveSupport::InheritableOptions
-
def middleware(&block)
self[:middleware] ||= []
self[:middleware].push(block) if block
super
end
@@ -20,7 +19,6 @@
origins *value # rubocop:disable Lint/AmbiguousOperator
resource '*', headers: :any, methods: %i[get post options delete put]
end
end
end
-
end