We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trinte: 0.3.7 Node: 0.12.2 NPM: 2.7.4
Command: trinte -g controller Post
trinte -g controller Post
ViewTemplatePath looks correct, but module.exports.index method declaration, title variable definition and res.render() looks is escaped.
Result:
* Posts Controller * * @package trinte * @version 0.0.1 * @desc Web-based Application * @author Trinte * @created 2015-05-05T01:57:03.225Z * @link https://github.com/biggora/trinte/wiki * * Created by create-controller script * App based on TrinteJS MVC framework * TrinteJS homepage http://www.trintejs.com */ var ViewTemplatePath = 'posts'; module.exports = { /** * index action * @param {Object} req * @param {Object} res * @param {Function} next **/ 'index': function(req, res, next) { var title = 'Posts'; res.render(ViewTemplatePath + '/index', { title : title }); } };
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Trinte: 0.3.7
Node: 0.12.2
NPM: 2.7.4
Command:
trinte -g controller Post
ViewTemplatePath looks correct, but module.exports.index method declaration, title variable definition and res.render() looks is escaped.
Result:
The text was updated successfully, but these errors were encountered: