aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/helpers/url_helper.rb
diff options
context:
space:
mode:
authorRyan Sandridge <ryan@sandridgelabs.com>2011-05-08 13:26:12 -0400
committerRyan Sandridge <ryan@sandridgelabs.com>2011-05-08 13:26:12 -0400
commit95ec18a0836be26f2b4a430c95bbcd6a0170fbe5 (patch)
tree78eef2abf800cd2aee47dffb84a1d9016b136fbd /actionpack/lib/action_view/helpers/url_helper.rb
parentc7d8661118b6d007b03c131fb8946e393c7f0891 (diff)
downloadrails-95ec18a0836be26f2b4a430c95bbcd6a0170fbe5.tar.gz
rails-95ec18a0836be26f2b4a430c95bbcd6a0170fbe5.tar.bz2
rails-95ec18a0836be26f2b4a430c95bbcd6a0170fbe5.zip
Documentation fix. Corrected a copy/paste mistake for link_to_if documentation.
Diffstat (limited to 'actionpack/lib/action_view/helpers/url_helper.rb')
-rw-r--r--actionpack/lib/action_view/helpers/url_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/helpers/url_helper.rb b/actionpack/lib/action_view/helpers/url_helper.rb
index ffa9a5bb0b..5488c752cc 100644
--- a/actionpack/lib/action_view/helpers/url_helper.rb
+++ b/actionpack/lib/action_view/helpers/url_helper.rb
@@ -420,7 +420,7 @@ module ActionView
end
# 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+).