aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorTony Semana <tony.semana@gmail.com>2012-01-17 12:51:38 -0500
committerTony Semana <tony.semana@gmail.com>2012-01-17 12:51:38 -0500
commitf77592bc0533187b1463d999703163dee9b8393e (patch)
treee51459183d8f4fdbbcb5d0ec009c9a3167ceea23 /app
parentb1e4fd00943a160f3eb6ce242463c0cc07a406fc (diff)
downloadrefinerycms-blog-f77592bc0533187b1463d999703163dee9b8393e.tar.gz
refinerycms-blog-f77592bc0533187b1463d999703163dee9b8393e.tar.bz2
refinerycms-blog-f77592bc0533187b1463d999703163dee9b8393e.zip
Fixes posts_helper to use updated refinery namespacing
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