Skip to content
Myr

Added del and post methods

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by visionmedia · committed by visionmedia · parent d3023da · Browse files · 1 file+6 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+6 added−0 removed

  • other:+6 added−0 removed

1 file+6 added−0 removed

modified:lib/express.core.js+6 added
336 unmodified lines
337 }338 339 get = Express.routeFunctionFor('get')340 post = Express.routeFunctionFor('post')341 del = Express.routeFunctionFor('delete')342 put = Express.routeFunctionFor('put')343 344})()345346get ('/users', function(){
12 unmodified lines
359get ('/user/:name/:op', function(){360 return param('op') + ' user "' + (param('name') || 'none') + '"'361})362363get (/admin\/(system|reports)/, function(){364 return captures[1]365})366367Express.start()