diff options
author | Sven Fuchs <svenfuchs@artweb-design.de> | 2010-11-14 18:46:40 +0100 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-12-04 18:00:52 +0100 |
commit | 896e25e994e272a1cb485d9a850501b488992cb2 (patch) | |
tree | 2d62d3c9d06836600b55ec000f3a166ef5c236a5 /actionpack/test/fixtures/translations/templates/found.erb | |
parent | 7ffd5daa7fe1fd805fd071d40dfad1773299c7d1 (diff) | |
download | rails-896e25e994e272a1cb485d9a850501b488992cb2.tar.gz rails-896e25e994e272a1cb485d9a850501b488992cb2.tar.bz2 rails-896e25e994e272a1cb485d9a850501b488992cb2.zip |
Make TranslationHelper#translate use the :rescue_format option in I18n 0.5.0
Don't catch exceptions here. Instead only declare that we want exceptions to be rescued as :html, but also let users configure reactions to exceptions in I18n.
Signed-off-by: José Valim <jose.valim@gmail.com>
Diffstat (limited to 'actionpack/test/fixtures/translations/templates/found.erb')
-rw-r--r-- | actionpack/test/fixtures/translations/templates/found.erb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/actionpack/test/fixtures/translations/templates/found.erb b/actionpack/test/fixtures/translations/templates/found.erb new file mode 100644 index 0000000000..080c9c0aee --- /dev/null +++ b/actionpack/test/fixtures/translations/templates/found.erb @@ -0,0 +1 @@ +<%= t('.foo') %> |