mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Documentation fix. Corrected a copy/paste mistake for link_to_if documentation.
This commit is contained in:
@@ -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+).
|
||||
|
||||
Reference in New Issue
Block a user