app/helpers/hicube/application_helper.rb in hicube-0.0.9 vs app/helpers/hicube/application_helper.rb in hicube-0.0.10
- old
+ new
@@ -55,12 +55,12 @@
def root_path
'/'
end
- def header_links
- Hicube::Page.parents
- end
+ # def header_links
+ # Hicube::Page.parents
+ # end
def snippet_render(name)
snippet = Hicube::Snippet.find_by(name: name)
raw "#{Hicube::Markdown.render(::Liquid::Template.parse(snippet.body).render).html_safe}"
rescue Mongoid::Errors::DocumentNotFound => dnf