aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/blog/shared/_post.html.erb
diff options
context:
space:
mode:
authorPhilip Arndt <parndt@gmail.com>2010-11-22 14:18:15 +1300
committerPhilip Arndt <parndt@gmail.com>2010-11-22 14:18:15 +1300
commit6a71948d0a33c71e3d441ae0d9d7de5f0183eb3b (patch)
tree7e4ccb941f6cc876ce4a87d6e58ef2731b7c4e16 /app/views/blog/shared/_post.html.erb
parent7d9361de63055dd83a1e90f425e0f3b021488cd2 (diff)
downloadrefinerycms-blog-6a71948d0a33c71e3d441ae0d9d7de5f0183eb3b.tar.gz
refinerycms-blog-6a71948d0a33c71e3d441ae0d9d7de5f0183eb3b.tar.bz2
refinerycms-blog-6a71948d0a33c71e3d441ae0d9d7de5f0183eb3b.zip
We can use scope for this.
Diffstat (limited to 'app/views/blog/shared/_post.html.erb')
-rw-r--r--app/views/blog/shared/_post.html.erb6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/blog/shared/_post.html.erb b/app/views/blog/shared/_post.html.erb
index 2875578..7ca483a 100644
--- a/app/views/blog/shared/_post.html.erb
+++ b/app/views/blog/shared/_post.html.erb
@@ -4,13 +4,13 @@
<h1><%= link_to post.title, blog_post_url(post) %></h1>
<details>
<time datetime="<%= post.published_at.strftime('%Y-%m-%d') %>" class='posted_at'>
- <%= t('blog.shared.posts.created_at', :when => post.published_at.strftime('%d %B %Y')) %>.
+ <%= t('blog.shared.posts.created_at', :when => post.published_at.strftime('%d %B %Y')) %>.
</time>
<% if (categories = post.categories).any? %>
<aside class='filed_in'>
- <%= t('blog.posts.show.filed_in') %>
+ <%= t('filed_in', :scope => 'blog.posts.show') %>
<% categories.each_with_index do |category, index| %>
- <%= link_to category.title, blog_category_url(category) -%><%= ',' if index < ((categories.length) - 1) %>
+ <%= link_to category.title, blog_category_url(category) -%><%= ',' if index < ((categories.length) - 1) %>
<% end %>
</aside>
<% end %>