• J
    Refactor Action View `translate` helper · 98a76a50
    Jonathan Hefner 提交于
    This refactor incidentally fixes a corner case when `translate` is
    called with a block, the translation is missing, and
    `debug_missing_translation` is false.
    
    This commit adds a test for the above corner case, and additional tests
    for existing behavior.
    98a76a50
translation_helper.rb 7.5 KB