aboutsummaryrefslogtreecommitdiffstats
path: root/app/helpers
diff options
context:
space:
mode:
Diffstat (limited to 'app/helpers')
-rw-r--r--app/helpers/sidebar_helper.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/app/helpers/sidebar_helper.rb b/app/helpers/sidebar_helper.rb
index 97bb560..ad9c6de 100644
--- a/app/helpers/sidebar_helper.rb
+++ b/app/helpers/sidebar_helper.rb
@@ -14,7 +14,8 @@ module SidebarHelper
end
def page_has_side_body?(page)
- part = page.part_with_title("Side Body")
- return part.present? && !part.try(:body).try(:empty?)
+ #part = page.part_with_title("Side Body")
+ #return part.present? && !part.try(:body).try(:empty?)
+ false
end
end