Browse Source

Fix edit article template filename

pull/6/head
Menci 8 years ago
parent
commit
2e74e16724
  1. 2
      modules/discussion.js

2
modules/discussion.js

@ -93,7 +93,7 @@ app.get('/article/:id/edit', async (req, res) => {
article.allowedEdit = await article.isAllowedEditBy(res.locals.user); article.allowedEdit = await article.isAllowedEditBy(res.locals.user);
} }
res.render('edit_article', { res.render('article_edit', {
article: article article: article
}); });
} catch (e) { } catch (e) {

Loading…
Cancel
Save