Created
February 11, 2016 22:39
-
-
Save chuck0523/8f80544300e22305f206 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = (function() { | |
'use strict'; | |
const Nodal = require('nodal'); | |
class TopController extends Nodal.Controller { | |
get() { | |
this.render(); | |
} | |
post() { | |
this.render(); | |
} | |
put() { | |
this.render(); | |
} | |
del() { | |
this.render(); | |
} | |
} | |
return TopController; | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment