提交 afc129e2 编写于 作者: B Bryan Helmkamp

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

上级 30399128
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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册