diff options
Diffstat (limited to 'activesupport/lib/active_support/core_ext/base64')
-rw-r--r-- | activesupport/lib/active_support/core_ext/base64/encoding.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activesupport/lib/active_support/core_ext/base64/encoding.rb b/activesupport/lib/active_support/core_ext/base64/encoding.rb index 19671992d2..1a40da8785 100644 --- a/activesupport/lib/active_support/core_ext/base64/encoding.rb +++ b/activesupport/lib/active_support/core_ext/base64/encoding.rb @@ -5,9 +5,9 @@ module ActiveSupport #:nodoc: # Encodes the value as base64 without the newline breaks. This makes the base64 encoding readily usable as URL parameters # or memcache keys without further processing. def encode64s(value) - ::Base64.encode64(value).gsub(/\n/, '') + encode64(value).gsub(/\n/, '') end end end end -end
\ No newline at end of file +end |