Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 13 lines (7 sloc) 0.271 kb
77ea339 @mde Added 'controller' task for geddy-gen.
mde authored
1
2 var <%= names.constructor.plural %> = function () {
248b1f2 @mde Integrate XML into content-negotiation. Enterprisey goodness.
mde authored
3 this.respondsWith = ['html', 'json', 'xml', 'js', 'txt'];
77ea339 @mde Added 'controller' task for geddy-gen.
mde authored
4
5 this.index = function (params) {
6 this.respond({params: params});
7 };
8
9 };
10
11 exports.<%= names.constructor.plural %> = <%= names.constructor.plural %>;
12
Something went wrong with that request. Please try again.