resolve/refinerycms-blog — Issue #178: Issue when accessing the blog index page
Author: danielnolan
Created: 2012-01-21 04:07:10+00:00
State: open

NoMethodError in Refinery/blog/posts#index

Showing /Users/dnolan/.rvm/gems/ruby-1.9.2-p290/bundler/gems/refinerycms-blog-ad0b7f6ac8ea/app/views/refinery/blog/posts/index.html.erb where line #2 raised:

undefined method `content_for' for nil:NilClass
Extracted source (around line #2):

1: <% content_for :body_content_left do %>
2: <%= raw @page.content_for(::Refinery::Pages.config.default_parts.first.to_sym) if ::Refinery::Pages.config.default_parts.any? %>
3:
4: <% if @posts.any? %>
5: