'use strict';

module.exports = function () {

  this.$({
    name: '<%= name %>',
    path: ''
  });

  this.index = {
    path: '',
    methods: ['all'],
    handler: function ($youmeb) {
      this.response.sned('<%= name %>');
      // this.next();
    }
  };

};

'use strict';

module.exports = function ($youmeb) {

  this.$({
    name: '<%= name %>',
    path: ''
  });

  this.index = {
    path: '/',
    methods: ['all'],
    handler: function (req, res, next) {
      res.send('<%= name %>');
    }
  };

};

update controller-generator/templates