lib/gollum/frontend/app.rb in gollum-2.3.9 vs lib/gollum/frontend/app.rb in gollum-2.3.10
- old
+ new
@@ -236,10 +236,11 @@
@name = params[:page] || "Preview"
@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
@editable = false
mustache :page
end
get '/history/*' do
@@ -358,9 +359,10 @@
@name = name
@editable = true
@content = page.formatted_data
@toc_content = wiki.universal_toc ? @page.toc_data : nil
@mathjax = wiki.mathjax
+ @css = wiki.css
mustache :page
elsif file = wiki.file(fullpath)
content_type file.mime_type
file.raw_data
else