lib/bad_browser.rb in bad_browser-0.0.1 vs lib/bad_browser.rb in bad_browser-0.0.2
- old
+ new
@@ -1,11 +1,12 @@
-require "rails/engine"
require "bad_browser/version"
require "bad_browser/view_helpers"
module BadBrowser
- class Engine < Rails::Engine
- initializer "bad_browser.view_helpers" do
- ActionView::Base.send :include, ViewHelpers
+ module Rails
+ class Engine < ::Rails::Engine
+ initializer "bad_browser.view_helpers" do
+ ActionView::Base.send :include, ViewHelpers
+ end
end
end
end