diff options
Diffstat (limited to 'activesupport/lib/active_support')
-rw-r--r-- | activesupport/lib/active_support/messages/rotation_configuration.rb | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/activesupport/lib/active_support/messages/rotation_configuration.rb b/activesupport/lib/active_support/messages/rotation_configuration.rb index 233703b558..bd50d6d348 100644 --- a/activesupport/lib/active_support/messages/rotation_configuration.rb +++ b/activesupport/lib/active_support/messages/rotation_configuration.rb @@ -9,15 +9,12 @@ module ActiveSupport @signed, @encrypted = [], [] end - def rotate(kind = nil, *args) + def rotate(kind, *args) case kind when :signed @signed << args when :encrypted @encrypted << args - else - rotate :signed, args - rotate :encrypted, args end end end |