lib/renderer/engine.rb in renderer-0.0.12 vs lib/renderer/engine.rb in renderer-0.0.13
- old
+ new
@@ -1,7 +1,9 @@
+# coding: utf-8
module Renderer
class Engine < ::Rails::Engine
- initialize "renderer.load_app_root" do |app|
- Renderer.app_root = app.root
+ isolate_namespace Renderer
+ initializer "renderer.load_app_root" do |app|
+ Renderer.app_root = app.root.to_s
end
end
end