Fix mathjax on edit and create pages (#1773)
* Fix mathjax on edit and create pages
This commit is contained in:
@@ -3,6 +3,7 @@ module Precious
|
||||
class Edit < Layout
|
||||
include Editable
|
||||
include HasPage
|
||||
include HasMath
|
||||
|
||||
attr_reader :page, :content
|
||||
|
||||
@@ -18,10 +19,6 @@ module Precious
|
||||
def page_name
|
||||
@name
|
||||
end
|
||||
|
||||
def mathjax
|
||||
@mathjax
|
||||
end
|
||||
|
||||
def header
|
||||
if @header.nil?
|
||||
@@ -67,7 +64,7 @@ module Precious
|
||||
def etag
|
||||
@etag
|
||||
end
|
||||
|
||||
|
||||
def allow_uploads
|
||||
@allow_uploads
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user