Commit cae3b3c5 authored by Uģis Ozols's avatar Uģis Ozols
Browse files

Add deprecation warning about news_item_archive_link helper.

parent 6d86d187
......@@ -28,6 +28,11 @@ module Refinery
end
end
def news_item_archive_link(*args)
Refinery.deprecate("news_item_archive_link", :when => "2.1.0", :replacement => "news_item_archive_links")
news_item_archive_links
end
def news_item_archive_links
html = ''
item_months = ::Refinery::News::Item.published.group_by {|i| i.publish_date.beginning_of_month}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment