mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
The deprecated ActiveSupport::Base64.decode64 method should call ::Base64.decode64 not ::Base64.encode64
This commit is contained in:
@@ -40,7 +40,7 @@ module ActiveSupport
|
||||
def self.decode64(value)
|
||||
ActiveSupport::Deprecation.warn "ActiveSupport::Base64.decode64 " \
|
||||
"is deprecated. Use Base64.decode64 instead", caller
|
||||
::Base64.encode64(value)
|
||||
::Base64.decode64(value)
|
||||
end
|
||||
|
||||
def self.encode64s(value)
|
||||
|
||||
Reference in New Issue
Block a user