lib/gollum/views/edit.rb in gollum-4.1.4 vs lib/gollum/views/edit.rb in gollum-5.0.0

- old
+ new

@@ -14,12 +14,16 @@ def title "#{@page.title}" end def page_name - @name.gsub('-', ' ') + @name end + + def mathjax + @mathjax + end def header if @header.nil? if page = @page.header @header = page.text_data @@ -58,15 +62,15 @@ def is_edit_page true end + def etag + @etag + end + def allow_uploads @allow_uploads - end - - def upload_dest - @upload_dest end def format @format = (@page.format || false) if @format.nil? @format.to_s.downcase