aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorAaron Brethorst <aaron@brethorsting.com>2012-08-29 13:34:11 -0700
committerAaron Brethorst <aaron@brethorsting.com>2012-08-29 13:34:11 -0700
commitee2da014c472052fe7e2f8d897df253a3e579ba9 (patch)
tree78ca901a205b1fbc9c54060cd603fc9a619ec29f /actionpack
parented5c938fa36995f06d4917d9543ba78ed506bb8d (diff)
downloadrails-ee2da014c472052fe7e2f8d897df253a3e579ba9.tar.gz
rails-ee2da014c472052fe7e2f8d897df253a3e579ba9.tar.bz2
rails-ee2da014c472052fe7e2f8d897df253a3e579ba9.zip
Fix Markdown rendering of 'controller-level etag additions' feature
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/CHANGELOG.md16
1 files changed, 8 insertions, 8 deletions
diff --git a/actionpack/CHANGELOG.md b/actionpack/CHANGELOG.md
index 9469e5b488..1232370439 100644
--- a/actionpack/CHANGELOG.md
+++ b/actionpack/CHANGELOG.md
@@ -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*