function IntrospectDashboard (iws) {
  var
    express    = require('express'),
    dashboard  = express();

  dashboard.locals.pretty = true;

  dashboard.on('mount', function (parent) {
    console.log('introspect.ws Dashboard: ' + this.mountpath);
  });

  dashboard.get('/',      function (req, res) { res.redirect(dashboard.mountpath + '/view/all'); });
  dashboard.get('/view',  function (req, res) { res.redirect(dashboard.mountpath + '/view/all'); });

  dashboard.get('/view/all', function (req, res) {
    res.render('dashboard/view/all');
  });

  return dashboard;
}

module.exports = IntrospectDashboard;
