提交 cf965cda 编写于 作者: J Jeremy Kemper

Clarify partial filename constraints. Closes #1161.

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4581 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
上级 3080b273
......@@ -549,6 +549,9 @@ def session_enabled?
# # each win partial.
# render :partial => "win", :collection => @wins, :spacer_template => "win_divider"
#
# Note that the partial filename must also be a valid Ruby variable name,
# so e.g. 2005 and register-user are invalid.
#
# _Deprecation_ _notice_: This used to have the signatures
# <tt>render_partial(partial_path = default_template_name, object = nil, local_assigns = {})</tt> and
# <tt>render_partial_collection(partial_name, collection, partial_spacer_template = nil, local_assigns = {})</tt>.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册