diff options
author | Uģis Ozols <ugis.ozolss@gmail.com> | 2011-07-28 12:05:43 +0300 |
---|---|---|
committer | Uģis Ozols <ugis.ozolss@gmail.com> | 2011-07-28 12:05:43 +0300 |
commit | 3475603f72ff0b3e051542908199b5bab3f47b14 (patch) | |
tree | 3733899359f932dda1fd1913459189f4f76f9086 /app/views/refinery/blog/posts/_post.html.erb | |
parent | 106571cdedb19a749479cf1f8ac6fafea7baea58 (diff) | |
download | refinerycms-blog-3475603f72ff0b3e051542908199b5bab3f47b14.tar.gz refinerycms-blog-3475603f72ff0b3e051542908199b5bab3f47b14.tar.bz2 refinerycms-blog-3475603f72ff0b3e051542908199b5bab3f47b14.zip |
More request specs and updates to code to make specs pass.
Diffstat (limited to 'app/views/refinery/blog/posts/_post.html.erb')
-rw-r--r-- | app/views/refinery/blog/posts/_post.html.erb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app/views/refinery/blog/posts/_post.html.erb b/app/views/refinery/blog/posts/_post.html.erb index 12978d3..0806c1a 100644 --- a/app/views/refinery/blog/posts/_post.html.erb +++ b/app/views/refinery/blog/posts/_post.html.erb @@ -8,12 +8,12 @@ <h1><%= @blog_post.title %></h1> <section class='details'> <time datetime="<%=l @blog_post.published_at.to_date, :format => :default %>" class='posted_at'> - <%= t('created_at', :scope => 'blog.shared.posts', :when => l(@blog_post.published_at.to_date, :format => :short)) %> + <%= t('created_at', :scope => 'refinery.blog.shared.posts', :when => l(@blog_post.published_at.to_date, :format => :short)) %> </time> - <%= "#{t('by', :scope => 'blog.posts.show')} #{@blog_post.author.username}" if @blog_post.author.present? %>. + <%= "#{t('by', :scope => 'refinery.blog.posts.show')} #{@blog_post.author.username}" if @blog_post.author.present? %>. <% if (categories = @blog_post.categories).any? %> <aside class='filed_in'> - <%= t('filed_in', :scope => 'blog.posts.show') %> + <%= t('filed_in', :scope => 'refinery.blog.posts.show') %> <% categories.each_with_index do |category, index| %> <%= link_to category.title, blog_category_url(category) -%><%= ',' if index < ((categories.length) - 1) %> <% end %> @@ -23,7 +23,7 @@ </header> <%= @blog_post.body.html_safe %> - <% if BlogPost::ShareThis.enabled? %> + <% if Refinery::BlogPost::ShareThis.enabled? %> <span class="st_sharethis" displayText="ShareThis"></span> <% end %> </article> |