diff options
author | Andrew Hooker <GeekOnCoffee@gmail.com> | 2012-05-19 20:52:59 -0500 |
---|---|---|
committer | Andrew Hooker <GeekOnCoffee@gmail.com> | 2012-05-19 20:52:59 -0500 |
commit | ccf9c0e5c0a87e047e1a56f45c77fd1ce1785afe (patch) | |
tree | 63c1d1723864d8cd3f5e4407c8c1a1253bceb59b /app/models | |
parent | 92d5455d9413641df8a6ad3fecbf7a3667ce53c4 (diff) | |
download | refinerycms-blog-ccf9c0e5c0a87e047e1a56f45c77fd1ce1785afe.tar.gz refinerycms-blog-ccf9c0e5c0a87e047e1a56f45c77fd1ce1785afe.tar.bz2 refinerycms-blog-ccf9c0e5c0a87e047e1a56f45c77fd1ce1785afe.zip |
Adding Deprecation Version
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/refinery/blog/post.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/refinery/blog/post.rb b/app/models/refinery/blog/post.rb index d134e87..6a2d7c2 100644 --- a/app/models/refinery/blog/post.rb +++ b/app/models/refinery/blog/post.rb @@ -58,7 +58,7 @@ module Refinery end def by_archive(date) - Refinery.deprecate("Refinery::Blog::Post.by_archive(date)", {:replacement => "Refinery::Blog::Post.by_month(date)"}) + Refinery.deprecate("Refinery::Blog::Post.by_archive(date)", {:replacement => "Refinery::Blog::Post.by_month(date)", :when => 2.2 }) by_month(date) end |