Browse files

Documentation fix. Corrected a copy/paste mistake for link_to_if docu…

  • Loading branch information...
1 parent c7d8661 commit 95ec18a0836be26f2b4a430c95bbcd6a0170fbe5 @dissolved dissolved committed May 8, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/lib/action_view/helpers/url_helper.rb
2 actionpack/lib/action_view/helpers/url_helper.rb
@@ -420,7 +420,7 @@ def link_to_unless(condition, name, options = {}, html_options = {}, &block)
# Creates a link tag of the given +name+ using a URL created by the set of
- # +options+ if +condition+ is true, in which case only the name is
+ # +options+ if +condition+ is true, otherwise only the name is
# returned. To specialize the default behavior, you can pass a block that
# accepts the name or the full argument list for +link_to_unless+ (see the examples
# in +link_to_unless+).

0 comments on commit 95ec18a

Please sign in to comment.