mirror of https://github.com/rails/rails
Fix docs about etag
This commit is contained in:
parent
32b363b246
commit
15365de5a4
|
@ -25,7 +25,7 @@ module ActionController
|
|||
# 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)
|
||||
|
|
Loading…
Reference in New Issue