lib/fancybox/engine.rb in fancybox-0.0.12 vs lib/fancybox/engine.rb in fancybox-0.0.13
- old
+ new
@@ -1,6 +1,9 @@
+# coding: utf-8
module Fancybox
- module Rails
- class Engine < ::Rails::Engine
+ class Engine < ::Rails::Engine
+ isolate_namespace Fancybox
+ initializer "fancybox_initializers" do |app|
+ ActionView::Base.send :include, Fancybox::Helper
end
end
end