lib/nav.rb in nav-0.6.0 vs lib/nav.rb in nav-0.7.0
- old
+ new
@@ -1,10 +1,10 @@
module Nav
autoload :Builder, File.dirname(__FILE__) + '/nav/builder'
def nav( options = {}, &block )
- Nav::Builder.new( self, options, &block )
+ Nav::Builder.new( self, options, &block ).to_s
end
end
ActionView::Base.send :include, Nav