Skip to content
Myr

Misc refactoring

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

authored by visionmedia · committed by visionmedia · parent 6b870a3 · Browse files · 1 file+8 added−8 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+8 added−8 removed

  • other:+8 added−8 removed

1 file+8 added−8 removed

modified:lib/express.core.js+8 added-8 removed
655 unmodified lines
656 657 }658 }659 660 // --- Expose661 662 get = Express.routeFunctionFor('get')663 post = Express.routeFunctionFor('post')664 del = Express.routeFunctionFor('delete')665 put = Express.routeFunctionFor('put')666 use = Express.addModule667 660 // --- Core Modules661 662 use(Express.BodyDecoder)663 use(Express.FauxMethod)664 use(Express.ContentLength)665 use(Express.DefaultContentType)666 use(Express.RedirectHelpers)667 668 // --- Expose669 670 get = Express.routeFunctionFor('get')671 post = Express.routeFunctionFor('post')672 del = Express.routeFunctionFor('delete')673 put = Express.routeFunctionFor('put')674 use = Express.addModule675 676})()677678get('user', function(){679 '<form action="/user" method="post"><input type="hidden" name="_method" value="put" /><input type="submit" /></form>'
11 unmodified lines