Method: ArticlesHelper#render_article_type_content

Defined in:
app/helpers/articles_helper.rb

#render_article_type_content(options = {}) ⇒ Object



92
93
94
95
96
97
98
# File 'app/helpers/articles_helper.rb', line 92

def render_article_type_content(options={})
  if @article && @article.article_type.present? && @article.kind_of_article_type.present?
    render :partial => "articletypes/#{@article.article_type_form_file.downcase}/#{@article.kind_of_article_type.downcase}"
  else
    render :partial => "articletypes/default/show"
  end
end