Documentation fix. Corrected a copy/paste mistake for link_to_if documentation.

This commit is contained in:
Ryan Sandridge
2011-05-08 13:26:12 -04:00
parent c7d8661118
commit 95ec18a083

View File

@@ -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+).