Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #7480 from aaronbrethorst/master

Fix markdown rendering of the ActionPack changelog [ci skip]
  • Loading branch information...
commit d4b8052e04d2e01f36d008e6e9d05097b6fe6184 2 parents 0093daf + ee2da01
Carlos Antonio da Silva carlosantoniodasilva authored
Showing with 8 additions and 8 deletions.
  1. +8 −8 actionpack/CHANGELOG.md
16 actionpack/CHANGELOG.md
View
@@ -2,15 +2,15 @@
* Added controller-level etag additions that will be part of the action etag computation *Jeremy Kemper/DHH*
- class InvoicesController < ApplicationController
- etag { current_user.try :id }
-
- 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)
+ class InvoicesController < ApplicationController
+ etag { current_user.try :id }
+
+ 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)
+ end
end
- end
* Add automatic template digests to all CacheHelper#cache calls (originally spiked in the cache_digests plugin) *DHH*
Please sign in to comment.
Something went wrong with that request. Please try again.