text: module.exports = function(server) {
    server.route({
      method: 'GET',
      path: '/',
      handler: function(request, reply) {
        reply.view('images');
      }
    });
    
    server.route({
      method: 'GET',
      path: '/{device}',
      handler: function(request, reply) {
        reply.view('home', {
          device: request.params.device
        });
      }
    })
  }
  