aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/helpers/refinery/blog/posts_helper.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/helpers/refinery/blog/posts_helper.rb b/app/helpers/refinery/blog/posts_helper.rb
index 418f360..99acb48 100644
--- a/app/helpers/refinery/blog/posts_helper.rb
+++ b/app/helpers/refinery/blog/posts_helper.rb
@@ -36,16 +36,16 @@ module Refinery
count = Blog::Post.by_archive(Time.parse(post_date)).size
text = t("date.month_names")[month.to_i] + " #{year} (#{count})"
- link_to(text, main_app.archive_blog_posts_path(:year => year, :month => month))
+ link_to(text, main_app.refinery_blog_archive_blog_posts_path(:year => year, :month => month))
else
post_date = post.published_at.strftime('01/%Y')
year = post_date.split('/')[1]
count = Refinery::Blog::Post.by_year(Time.parse(post_date)).size
text = "#{year} (#{count})"
- link_to(text, main_app.archive_blog_posts_path(:year => year))
+ link_to(text, main_app.refinery_blog_archive_blog_posts_path(:year => year))
end
end
end
end
-end \ No newline at end of file
+end