Permalink
Browse files

add CHANGELOG entry for #2

  • Loading branch information...
1 parent ccce63b commit b74cb2b5ca09c2abe27d0fe68ccb42b574b69f3a Francesco Rodriguez committed Mar 1, 2013
Showing with 19 additions and 0 deletions.
  1. +19 −0 CHANGELOG.md
View
@@ -1,3 +1,22 @@
+## unreleased
+
+* Allow to use non-proc object in `cache_path` option.
+
+ Example:
+
+ class CachePath
+ def call(controller)
+ controller.id
+ end
+ end
+
+ class TestController < ApplicationController
+ caches_action :index, :cache_path => CachePath.new
+ def index; end
+ end
+
+ *Piotr Niełacny*
+
## 1.0.0 (February 28, 2013)
* Extract Action Pack - Action Caching from Rails core.

1 comment on commit b74cb2b

Contributor

frodsan commented on b74cb2b Mar 1, 2013

/cc @rafaelfranca done! :)

Please sign in to comment.