Only use custom_teaser if the migration has run
This commit is contained in:
parent
e7d107ca4f
commit
d70e39c789
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@
|
|||
:locals => {
|
||||
:f => f,
|
||||
:part_index => (part_index += 1),
|
||||
} -%>
|
||||
} if f.object.respond_to?(:custom_teaser) -%>
|
||||
<% Refinery::Blog.tabs.each_with_index do |tab, tab_index| %>
|
||||
<div class='page_part' id='<%= "custom_tab_#{tab_index}" %>'>
|
||||
<%= render :partial => tab.partial, :locals => {:f => f} %>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue