Skip to content

Instantly share code, notes, and snippets.

@ben-ng
Created March 19, 2014 05:20
Show Gist options
  • Save ben-ng/9635861 to your computer and use it in GitHub Desktop.
Save ben-ng/9635861 to your computer and use it in GitHub Desktop.
{{#selectTag options selected}}
{{/selectTag}}
var Main = function () {
this.index = function (req, resp, params) {
this.respond({
options: ['a', 'b']
, selected: 'b'
}, {
format: 'html'
, template: 'app/views/main/index'
});
};
};
exports.Main = Main;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment