Permalink
Browse files

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

  • Loading branch information...
1 parent 3039912 commit afc129e2707daa0de1dd85c0796a1f9d73e7107f @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 afc129e

Please sign in to comment.