提交 95ec18a0 编写于 作者: R Ryan Sandridge

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

上级 c7d86611
......@@ -420,7 +420,7 @@ def link_to_unless(condition, name, options = {}, html_options = {}, &block)
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+).
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册