title: undefined local variable or method `blog'?
body: <p>I am working on a rails application and I have a Dashboard::user(dashboard/user) controller and I would like for users to update their blog post through the backend of the site. That works fine but when I am trying to get a list of the latest blog post a user has created I get an error. </p>
  
  <p>dashboard/users_controller</p>
  
  <pre><code>def content
    @blog = Blog.new
    render ('content')
  end
  </code></pre>
  
  <p>dashboard/blogs/_blog_list.html.erb</p>
  
  <pre><code>&lt;%= div_for(:dashboard ,blog) do %&gt;
    &lt;%= link_to image_tag(blog.preview.url(:thumb)), dashboard_blog_path(blog) %&gt;
    &lt;h1&gt;&lt;%= link_to (blog.title),dashboard_blog_path(blog) %&gt;&lt;/h1&gt;
     &lt;p&gt;&lt;%= truncate blog.excerpt, length: 160 %&gt;&lt;/p&gt;
    &lt;%= blog.published_at %&gt;
    &lt;%= blog.site_id %&gt;
  &lt;% end %&gt;
  </code></pre>
  
  <p>controller </p>
  
  <pre><code>def content
    @site = Site.find_by_subdomain!(request.subdomain)
    @blogs = @site.blogs.all
    @blog = Blog.new
  
    render ('content')
  end
  </code></pre>
  
  <p>content.html.erb</p>
  
  <pre><code>&lt;%= render :partial =&gt; 'dashboard/blogs/blog_list', :locals =&gt; {:blogs =&gt; @blog} %&gt;
  </code></pre>
  
  <p>Any reason why this is not working?</p>