app/views/knowledge_base/articles/show.html.erb in knowledge_base-0.0.3 vs app/views/knowledge_base/articles/show.html.erb in knowledge_base-0.1.0
- old
+ new
@@ -1,11 +2 @@
-<h1 class="title"><%= @article.title %></h1>
-
-<div class="description">
- <%= simple_format @article.description %>
-
- <% @article.sections.each do |section| %>
- <div class="<%= section.sectionable.class.name.demodulize.downcase %> section">
- <%= render section.sectionable %>
- </div>
- <% end %>
-</div>
+<%= render @article %>