summaryrefslogtreecommitdiff
path: root/server/lib/views.js
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2014-06-05 15:19:33 -0400
committerJules Laplace <jules@okfoc.us>2014-06-05 15:19:33 -0400
commit1c8ecab7cc040196cf585d618b5eb9289a2efbc6 (patch)
tree9363ffcaf171327f8a7fa53206bf113d1b43a7b5 /server/lib/views.js
parent62fdac2d01ad9d0c5a95cc6da5a5397cdd6f767b (diff)
moving things around
Diffstat (limited to 'server/lib/views.js')
-rw-r--r--server/lib/views.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/server/lib/views.js b/server/lib/views.js
index 7f3d1a0..ac72def 100644
--- a/server/lib/views.js
+++ b/server/lib/views.js
@@ -9,3 +9,15 @@ exports.login = function (req, res) {
config: config
});
};
+
+exports.index = function (req, res) {
+ res.render('index', {
+ config: config
+ })
+}
+
+exports.profile = function (req, res) {
+ res.render('profile', {
+ config: config
+ })
+}