lib/jsonapionify/api/base/app_builder.rb in jsonapionify-0.12.2 vs lib/jsonapionify/api/base/app_builder.rb in jsonapionify-0.12.3
- old
+ new
@@ -36,10 +36,10 @@
}
end
map "/" do
use Rack::MethodOverride
api.middleware.each do |args, block|
- use *args, &block
+ use(*args, &block)
end
run JSONAPIonify::Api::Server.new(api)
end
end
end