README.textile in crummy-1.1.0 vs README.textile in crummy-1.1.1

- old
+ new

@@ -39,21 +39,21 @@ <pre> <code> class ApplicationController add_crumb "Home", '/' end - + class BusinessController < ApplicationController add_crumb("Businesses") { |instance| instance.send :businesses_path } add_crumb("Comments", :only => "comments") { |instance| instance.send :businesses_comments_path } before_filter :load_comment, :only => "show" add_crumb :comment, :only => "show" - + def show add_crumb @business.display_name, @business end - + def load_comment @comment = Comment.find(params[:id]) end end </code> @@ -75,24 +75,24 @@ The output format. Can either be :xml or :html. Defaults to :html <code>:format => (:html|:xml)</code> -The seperator text. It does not assume you want spaces on either side so you must specify. Defaults to <code>&raquo;</code> for :html and <code><crumb></code> for :xml +The separator text. It does not assume you want spaces on either side so you must specify. Defaults to <code>&raquo;</code> for :html and <code><crumb></code> for :xml -<code>:seperator => string</code> +<code>:separator => string</code> Render links in the output. Defaults to +true+ -<code>:links => boolean</code> +<code>:links => boolean</code> h3. Examples <pre> <code> render_crumbs #=> <a href="/">Home</a> &raquo; <a href="/businesses">Businesses</a> - render_crumbs :seperator => ' | ' #=> <a href="/">Home</a> | <a href="/businesses">Businesses</a> + render_crumbs :separator => ' | ' #=> <a href="/">Home</a> | <a href="/businesses">Businesses</a> render_crumbs :format => :xml #=> <crumb href="/">Home</crumb><crumb href="/businesses">Businesses</crumb> </code> </pre> A crumb with a nil link will just output plain text. @@ -113,7 +113,9 @@ * "Les Hill":http://blog.leshill.org/ * "Sandro Turriate":http://turriate.com/ * "Przemysław Kowalczyk":http://szeryf.wordpress.com/2008/06/13/easy-and-flexible-breadcrumbs-for-rails/ - feature ideas * "Sharad Jain":http://github.com/sjain * "Max Riveiro":http://github.com/kavu +* "Kamil K. Lemański":http://kml.jogger.pl +* "Brian Cobb":http://bcobb.net/ -*Copyright (c) 2010 Zach Inglis, released under the MIT license* +*Copyright (c) 2011 Zach Inglis, released under the MIT license*