lib/gollum/frontend/app.rb in gollum-2.3.12 vs lib/gollum/frontend/app.rb in gollum-2.4.0

- old
+ new

@@ -237,10 +237,11 @@ @page = wiki.preview_page(@name, params[:content], params[:format]) @content = @page.formatted_data @toc_content = wiki.universal_toc ? @page.toc_data : nil @mathjax = wiki.mathjax @css = wiki.css + @h1_title = wiki.h1_title @editable = false mustache :page end get '/history/*' do @@ -360,9 +361,10 @@ @editable = true @content = page.formatted_data @toc_content = wiki.universal_toc ? @page.toc_data : nil @mathjax = wiki.mathjax @css = wiki.css + @h1_title = wiki.h1_title mustache :page elsif file = wiki.file(fullpath) content_type file.mime_type file.raw_data else