Skip to content

Commit

Permalink
Fixes template editor layout
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmerfield committed Nov 21, 2024
1 parent 3140b00 commit 29dadb1
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions app/dashboard/site/template/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,13 +66,6 @@ TemplateEditor.route('/new')
});
});


TemplateEditor.use("/:templateSlug/:section", function (req, res, next) {
res.locals.selected = {};
res.locals.selected[req.params.section] = "selected";
next();
});

TemplateEditor.route("/:templateSlug/install")
.post(parse, function (req, res, next) {
var templateID = req.body.template;
Expand Down

0 comments on commit 29dadb1

Please sign in to comment.