Skip to content

Commit

Permalink
bug: precontrib editor variable
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolaslabbe committed Nov 14, 2016
1 parent 0dcc554 commit c0b7e33
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/server/routes/get-main.js
Original file line number Diff line number Diff line change
Expand Up @@ -158,9 +158,8 @@ var route = function(req, res, next) {

p.then((obj) => {
var precontrib = Manager.instance.getPrecontribution()
var precontribForm = new Page("", precontrib.template, obj.json, false)

editor(precontrib.template, {}, "")
editor(precontrib.template, obj.json, "")
.then((resultPrecontrib) => {
EditorVariables.resultPrecontrib = resultPrecontrib
renderAbeAdmin(EditorVariables, obj, filePath, isHome, template)
Expand Down

0 comments on commit c0b7e33

Please sign in to comment.