Permalink
Browse files

Just use bare array.

  • Loading branch information...
1 parent 389d63e commit d971b2775a589f15e95b94dac42171a447c77eb2 Michael Bleigh committed Dec 3, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/warden/oauth2/failure_app.rb
@@ -15,7 +15,7 @@ def call(env)
headers['X-Accepted-OAuth-Scopes'] = (strategy.scope || :public).to_s
- Rack::Response.new([body], status, headers).finish
+ [status, headers, [body]]
end
end
end

0 comments on commit d971b27

Please sign in to comment.