lib/gollum/views/edit.rb in gollum-5.2.3 vs lib/gollum/views/edit.rb in gollum-5.3.0
- old
+ new
@@ -1,10 +1,11 @@
module Precious
module Views
class Edit < Layout
include Editable
include HasPage
+ include HasMath
attr_reader :page, :content
# return path set in app.rb not @page.path
def path
@@ -16,14 +17,10 @@
end
def page_name
@name
end
-
- def mathjax
- @mathjax
- end
def header
if @header.nil?
if page = @page.header
@header = page.text_data
@@ -65,10 +62,10 @@
end
def etag
@etag
end
-
+
def allow_uploads
@allow_uploads
end
def format