Permalink
Browse files

Fix some Ruby warnings: `*' interpreted as argument prefix

  • Loading branch information...
1 parent d36f8a2 commit 1a93e93d1b26a73ed3707b27059542d6efa2cd04 @brynary brynary committed Oct 29, 2009
@@ -1,12 +1,12 @@
module ActionController
module Translation
def translate(*args)
- I18n.translate *args
+ I18n.translate(*args)
end
alias :t :translate
def localize(*args)
- I18n.localize *args
+ I18n.localize(*args)
end
alias :l :localize
end
@@ -21,7 +21,7 @@ def translate(key, options = {})
# Delegates to I18n.localize with no additional functionality.
def localize(*args)
- I18n.localize *args
+ I18n.localize(*args)
end
alias :l :localize

0 comments on commit 1a93e93

Please sign in to comment.