link_to_unless_current(name, options = {}, html_options = {}, &block)
Instance Public methods
Creates a link tag of the given name using a URL created by
the set of options unless the current request URI is the same as the links, in which case only
the name is returned (or the given block is yielded, if one exists). You
can give link_to_unless_current a block which will specialize
the default behavior (e.g., show a âStart Hereâ link rather than the
link's text).
Examples
Let's