blob: c1d80f1b88f57e8675356963fbb465fce3101791 (
plain) (
blame)
1
2
3
4
5
6
7
8
|
<% content_for "sidebar_module_#{sidebar_blog_category.title}_body" do %>
<% sidebar_blog_category.body.each do |post| %>
<%= content_tag :div, :class => :sidebar_blog_headline do %>
<%= link_to post.title, blog_post_path(post) %>
<% end %>
<% end %>
<% end %>
<%= render 'common/sidebar_module', :sidebar_module => sidebar_blog_category %>
|