From c792cb70a89814b0b41c40aefac43f47af46b927 Mon Sep 17 00:00:00 2001 From: Paul van Tilburg Date: Wed, 9 Nov 2011 19:44:59 +0100 Subject: [PATCH] Added missing I18n module. --- stoptime.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stoptime.rb b/stoptime.rb index e234b50..c3c4d6e 100644 --- a/stoptime.rb +++ b/stoptime.rb @@ -542,7 +542,7 @@ module StopTime::Controllers template = TEMPLATE_DIR + "invoice.tex.erb" tex_file = PUBLIC_DIR + "#{number}.tex" - with_locale :nl do + I18n.with_locale :nl do erb = ERB.new(File.read(template)) File.open(tex_file, "w") { |f| f.write(erb.result(binding)) } end