未验证 提交 836fbf2f 编写于 作者: E Eileen M. Uchitelle 提交者: GitHub

Merge pull request #37921 from hmtanbir/37829-fix-docs-about-etag

Fix docs about etag
......@@ -25,7 +25,7 @@ module ClassMethods
# def show
# # Etag will differ even for the same invoice when it's viewed by a different current_user
# @invoice = Invoice.find(params[:id])
# fresh_when(@invoice)
# fresh_when etag: @invoice
# end
# end
def etag(&etagger)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册