aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--controllers/system.js6
-rw-r--r--views/newProject.ejs (renamed from views/newproject.ejs)0
2 files changed, 3 insertions, 3 deletions
diff --git a/controllers/system.js b/controllers/system.js
index 0be82d1..40e13e8 100644
--- a/controllers/system.js
+++ b/controllers/system.js
@@ -109,11 +109,11 @@ exports.projectParticipants = function(req, res) {
exports.postProjectParticipants = function(req, res) {
-
-
}
exports.projectPost = function(req, res) {
+ res.render('projectPost', { title: 'Legg til utgift', loggedin: true, req: req });
+
}
@@ -122,7 +122,7 @@ exports.postProjectPost = function(req, res) {
}
exports.newProject = function(req, res) {
- res.render('newproject', { title: 'Nytt prosjekt', loggedin: true });
+ res.render('newProject', { title: 'Nytt prosjekt', loggedin: true });
}
exports.postNewProject = function(req, res) {
diff --git a/views/newproject.ejs b/views/newProject.ejs
index 5559a9c..5559a9c 100644
--- a/views/newproject.ejs
+++ b/views/newProject.ejs