提交 9899f531 编写于 作者: S Sebastian Martinez

better styling on #available_action? docs

上级 9c2c25c1
......@@ -133,8 +133,8 @@ def action_methods
# Returns true if a method for the action is available and
# can be dispatched, false otherwise.
#
# Notice that action_methods.include?("foo") may return
# false and available_action?("foo") return true because
# Notice that <tt>action_methods.include?("foo")</tt> may return
# false and <tt>available_action?("foo")</tt> returns true because
# available action consider actions that are also available
# through other means, for example, implicit render ones.
def available_action?(action_name)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册