lib/engine.rb in dynamic_menu-3.0.0.pre1 vs lib/engine.rb in dynamic_menu-3.0.0.pre2
- old
+ new
@@ -1,7 +1,8 @@
module DynamicMenu
class Engine < ::Rails::Engine
initializer "dynamic_menu.inheritable_menus" do |app|
+ ActionController::Base.send :include, DynamicMenu::UserGrabber
ActionView::Base.send :include, DynamicMenu::InheritableMenus
end
end
end
\ No newline at end of file