Skip to content
Myr

removed old route reflection methods

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

authored by TJ Holowaychuk · committed by TJ Holowaychuk · parent 7e81cad · Browse files · 1 file+0 added−15 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+0 added−15 removed

  • other:+0 added−15 removed

1 file+0 added−15 removed

modified:lib/application.js-15 removed
43 unmodified lines
44 this.settings = {};45 this.engines = {};46 this.viewCallbacks = [];47 this.defaultConfiguration();4849 // route reflection methods50 methods.forEach(function(method){51 self.lookup[method] = function(path){52 return self._router.lookup(method, path);53 };5455 self.remove[method] = function(path){56 return self._router.lookup(method, path).remove();57 };58 });5960 // del -> delete61 self.lookup.del = self.lookup.delete;62 self.remove.del = self.remove.delete;48};4950/**51 * Initialize application configuration.
483 unmodified lines