aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/fixtures/translations/templates/array.erb
diff options
context:
space:
mode:
authorSven Fuchs <svenfuchs@artweb-design.de>2010-11-14 18:46:40 +0100
committerJosé Valim <jose.valim@gmail.com>2010-12-04 18:00:52 +0100
commit896e25e994e272a1cb485d9a850501b488992cb2 (patch)
tree2d62d3c9d06836600b55ec000f3a166ef5c236a5 /actionpack/test/fixtures/translations/templates/array.erb
parent7ffd5daa7fe1fd805fd071d40dfad1773299c7d1 (diff)
downloadrails-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/array.erb')
-rw-r--r--actionpack/test/fixtures/translations/templates/array.erb1
1 files changed, 1 insertions, 0 deletions
diff --git a/actionpack/test/fixtures/translations/templates/array.erb b/actionpack/test/fixtures/translations/templates/array.erb
new file mode 100644
index 0000000000..d86045a172
--- /dev/null
+++ b/actionpack/test/fixtures/translations/templates/array.erb
@@ -0,0 +1 @@
+<%= t('.foo.bar') %>