Added missing I18n module.

This commit is contained in:
Paul van Tilburg 2011-11-09 19:44:59 +01:00
parent 4ca48511ba
commit c792cb70a8
1 changed files with 1 additions and 1 deletions

View File

@ -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