lib/surrounded/railtie.rb in surrounded-rails-0.0.3 vs lib/surrounded/railtie.rb in surrounded-rails-0.0.4
- old
+ new
@@ -18,7 +18,11 @@
init_internals_without_surrounded
end
alias_method_chain :init_internals, :surrounded
}
end
+
+ initializer 'surrounded.action_controller' do |app|
+ ActionController::Base.send(:include, Surrounded)
+ end
end
end