lib/alephant/renderer/views/html.rb in alephant-renderer-3.0.0 vs lib/alephant/renderer/views/html.rb in alephant-renderer-3.1.0
- old
+ new
@@ -27,16 +27,18 @@
def translator
Alephant::Renderer::I18n::LocaleComponentYaml.new(
locale,
template_name,
- translations_path)
+ translations_path
+ )
end
def translations_path
File.join(
Pathname.new(base_path).parent,
- 'locale')
+ 'locale'
+ )
end
def renderer_engine
Alephant::Renderer::Engine::Mustache.new(base_path, template_name)
end