aboutsummaryrefslogtreecommitdiffstats
path: root/app/helpers
diff options
context:
space:
mode:
authorPhilip Arndt <parndt@gmail.com>2011-07-01 09:12:27 +1200
committerPhilip Arndt <parndt@gmail.com>2011-07-01 09:12:27 +1200
commit47a71b309f4fb364449167ddc6ed978b6969e047 (patch)
tree842ef03d0fbec90a14666cdeaf6285d54d6feed0 /app/helpers
parent46021c66f476747a21ee62bf7acbcd9cb169bd25 (diff)
downloadrefinerycms-blog-47a71b309f4fb364449167ddc6ed978b6969e047.tar.gz
refinerycms-blog-47a71b309f4fb364449167ddc6ed978b6969e047.tar.bz2
refinerycms-blog-47a71b309f4fb364449167ddc6ed978b6969e047.zip
Making use of translation scopes.
Diffstat (limited to 'app/helpers')
-rw-r--r--app/helpers/blog_posts_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/blog_posts_helper.rb b/app/helpers/blog_posts_helper.rb
index 357ddac..a15de1d 100644
--- a/app/helpers/blog_posts_helper.rb
+++ b/app/helpers/blog_posts_helper.rb
@@ -3,7 +3,7 @@ module BlogPostsHelper
posts = BlogPost.select('published_at').all_previous
return nil if posts.blank?
html = '<section id="blog_archive_list"><h2>'
- html << t('blog.shared.archives')
+ html << t('archives', :scope => 'blog.shared')
html << '</h2><nav><ul>'
links = []
super_old_links = []