lib/menu_builder.rb in menu_builder-0.4.0 vs lib/menu_builder.rb in menu_builder-0.4.1
- old
+ new
@@ -1,5 +1,10 @@
require 'menu_builder/controller'
require 'menu_builder/helper'
-ActionController::Base.send(:include, MenuBuilder::Controller)
-ActionView::Base.send(:include, MenuBuilder::ViewHelpers)
\ No newline at end of file
+class ActionController::Base
+ include MenuBuilder::Controller
+end
+
+class ActionView::Base
+ include MenuBuilder::ViewHelpers
+end