aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorAndrew Hooker <GeekOnCoffee@gmail.com>2012-05-19 20:46:03 -0500
committerAndrew Hooker <GeekOnCoffee@gmail.com>2012-05-19 20:46:03 -0500
commit92d5455d9413641df8a6ad3fecbf7a3667ce53c4 (patch)
tree773333c41f2e115e19243ba02a14a2d1150682d5 /app
parent86fa2d2f5d0c2bfb9900bb795bfafe78d09c897d (diff)
downloadrefinerycms-blog-92d5455d9413641df8a6ad3fecbf7a3667ce53c4.tar.gz
refinerycms-blog-92d5455d9413641df8a6ad3fecbf7a3667ce53c4.tar.bz2
refinerycms-blog-92d5455d9413641df8a6ad3fecbf7a3667ce53c4.zip
Using Standard Refinery Deprecation Method
Diffstat (limited to 'app')
-rw-r--r--app/models/refinery/blog/post.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/refinery/blog/post.rb b/app/models/refinery/blog/post.rb
index 3e3d85c..d134e87 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)
- warn "[Deprecation Warning] Refinery::Blog::Post.by_archive(date) has been replaced with by_month"
+ Refinery.deprecate("Refinery::Blog::Post.by_archive(date)", {:replacement => "Refinery::Blog::Post.by_month(date)"})
by_month(date)
end