mirror of
https://github.com/heartcombo/devise.git
synced 2026-04-28 03:00:29 -04:00
Fix failure app on Mongrel and Ruby 1.8.6.
This commit is contained in:
@@ -23,7 +23,7 @@ module Devise
|
||||
headers["Content-Type"] = 'text/plain'
|
||||
|
||||
message = options[:message] || "You are being redirected to #{redirect_path}"
|
||||
[302, headers, message]
|
||||
[302, headers, [message]]
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user