Adding Deprecation Version
This commit is contained in:
parent
92d5455d94
commit
ccf9c0e5c0
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ module Refinery
|
||||||
end
|
end
|
||||||
|
|
||||||
def by_archive(date)
|
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)
|
by_month(date)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue