Skip to content

Commit

Permalink
Added kind argument to Simple Enumerator to fix #send_add exception i…
Browse files Browse the repository at this point in the history
…n production
  • Loading branch information
Dantemss committed Jul 19, 2017
1 parent 0c3faee commit 8934de7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/initializers/locale.rb
Expand Up @@ -2,7 +2,7 @@ module I18n
module Enumerators
# A fallback enumerator which just returns all elements separated by ','
module Simple
def self.enumerate list, options = {}
def self.enumerate kind, list, options = {}
return list.join ', '
end
end
Expand Down

0 comments on commit 8934de7

Please sign in to comment.