Skip to content
Browse files

re-resolve lambda results

  • Loading branch information...
1 parent a7d692d commit 7f3786d4576cd8b210332bb1c35f000d618a175f @svenfuchs committed May 1, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/i18n/backend/simple.rb
View
2 lib/i18n/backend/simple.rb
@@ -128,7 +128,7 @@ def resolve(locale, object, subject, options = {})
when Symbol
translate(locale, subject, options)
when Proc
- subject.call(object, options)
+ resolve(locale, object, subject.call(object, options), options = {})
else
subject
end

0 comments on commit 7f3786d

Please sign in to comment.
Something went wrong with that request. Please try again.