Skip to content

Commit

Permalink
Revert "Localise supports for two argument now (#904)" (#908)
Browse files Browse the repository at this point in the history
This reverts commit 7b9267a.
  • Loading branch information
codebycliff committed May 27, 2021
1 parent cc10465 commit 3524d88
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/draper/view_helpers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ def helpers

# Alias for `helpers.localize`, since localize is something that's used
# quite often. Further aliased to `l` for convenience.
ruby2_keywords def localize(object, **options)
helpers.localize(object, **options)
ruby2_keywords def localize(*args)
helpers.localize(*args)
end

alias :l :localize
Expand Down

0 comments on commit 3524d88

Please sign in to comment.