app/views/pages_cms/pages/show.html.haml in pages_cms-0.1.1 vs app/views/pages_cms/pages/show.html.haml in pages_cms-0.2.0
- old
+ new
@@ -3,10 +3,10 @@
- if @sidebar
%div.row
%div.col-md-8
= render partial: 'pages_cms/pages/main', locals: { page: @page }
%div.col-md-4
- = raw @sidebar.content_rendered
+ = raw @sidebar.content
%ul.nav.nav-pills.nav-stacked
- PagesCms::Page.where(sidebar_show: true).each do |link|
%li
= link_to link.title, slugged_path(link)
\ No newline at end of file