/*
 * GET home page.
 */
var config = require("../config");

exports.get_url = "/";
exports.get = function(req, res){
  if (req.isAuthenticated()) {
    res.render('index', {
      title: process.env.MD_TITLE || "Markdown Chat",
      logged_in: true,
      nickname: req.user.nickname,
      user_id: req.user._id
    });
  }
  else {
    res.render('index', {
      title: process.env.MD_TITLE || "Markdown Chat",
      logged_in: false
    });
  }
};

@@ -39,17 +39,17 @@
 require(
-%22
+'
 ../confi
@@ -49,17 +49,17 @@
 ./config
-%22
+'
 );%0A%0Aexpo
@@ -76,11 +76,11 @@
 l = 
-%22/%22
+'/'
 ;%0Aex
@@ -197,33 +197,33 @@
 env.MD_TITLE %7C%7C 
-%22
+'
 Markdown Chat%22,%0A
@@ -211,33 +211,33 @@
 %7C 'Markdown Chat
-%22
+'
 ,%0A      logged_i
@@ -392,17 +392,17 @@
 ITLE %7C%7C 
-%22
+'
 Markdown
@@ -410,9 +410,9 @@
 Chat
-%22
+'
 ,%0A  

fix coding style of routest/_index.js according to jshint