lib/insightful.rb in insightful-0.0.1.5 vs lib/insightful.rb in insightful-0.0.1.6
- old
+ new
@@ -9,14 +9,13 @@
# http://github.com/ianwhite/truncate_html
# http://github.com/dekart/breadcrumbs.git
# http://github.com/html/once/blob/master/lib/once.rb
# http://github.com/fnando/breadcrumbs.git
# http://github.com/semanticart/smart-meta
-
Dir["#{File.expand_path(File.dirname(__FILE__))}/insightful/*"].each {|file| require file}
Insightful.send(:include, Insightful::HeadHelper)
Insightful.send(:include, Insightful::BodyHelper)
Insightful.send(:include, Insightful::NavigationHelper)
-ActionView::Base.send(:include, Insightful) if defined?(ActionView)
-ActionController::Base.helper(Insightful) if defined?(ActionController)
+ActionView::Base.send(:include, Insightful) if defined?(ActionView::Base)
+ActionController::Base.helper(Insightful) if defined?(ActionController::Base)
\ No newline at end of file