Rename entries to artifacts
This commit is contained in:
@@ -9,11 +9,11 @@ module.exports = function (options) {
|
||||
.get(function(request, response, next) {
|
||||
db.Artifact.findAll({
|
||||
|
||||
}).then(entries => {
|
||||
}).then(artifacts => {
|
||||
response.display("library", {
|
||||
user: request.user,
|
||||
pageTitle: "Library - Mantra",
|
||||
entries: entries
|
||||
artifacts: artifacts
|
||||
})
|
||||
}).catch(error => {
|
||||
next(error)
|
||||
|
||||
Reference in New Issue
Block a user