diff options
author | Philip Arndt <parndt@gmail.com> | 2012-01-17 16:56:03 +1300 |
---|---|---|
committer | Philip Arndt <parndt@gmail.com> | 2012-01-17 16:56:24 +1300 |
commit | b1e4fd00943a160f3eb6ce242463c0cc07a406fc (patch) | |
tree | 07fb750aa580b63d39c23589997956bf3a03594d /app/views/refinery/blog/posts/_comments.html.erb | |
parent | b3a25c1b686d205fc6b8b409a8f90059ae6b934d (diff) | |
download | refinerycms-blog-b1e4fd00943a160f3eb6ce242463c0cc07a406fc.tar.gz refinerycms-blog-b1e4fd00943a160f3eb6ce242463c0cc07a406fc.tar.bz2 refinerycms-blog-b1e4fd00943a160f3eb6ce242463c0cc07a406fc.zip |
Fixed namespacing for Refinery conventions.
Diffstat (limited to 'app/views/refinery/blog/posts/_comments.html.erb')
-rw-r--r-- | app/views/refinery/blog/posts/_comments.html.erb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/refinery/blog/posts/_comments.html.erb b/app/views/refinery/blog/posts/_comments.html.erb index 9bc0a13..a34d106 100644 --- a/app/views/refinery/blog/posts/_comments.html.erb +++ b/app/views/refinery/blog/posts/_comments.html.erb @@ -1,6 +1,6 @@ <aside id="comments"> <h2><%= t('title', :scope => 'refinery.blog.posts.show.comments') %></h2> - <% if (comments = @blog_post.comments.approved).any? %> + <% if (comments = @post.comments.approved).any? %> <%= render :partial => "comment", :collection => comments %> <% else %> <p> @@ -15,7 +15,7 @@ <% end %> <h2><%= t('add', :scope => 'refinery.blog.posts.show.comments') %></h2> - <%= form_for [main_app, :blog_post, @blog_comment] do |f| %> + <%= form_for [main_app, :refinery_blog, @comment] do |f| %> <%= render :partial => "/refinery/admin/error_messages", :locals => { :object => f.object, |