Skip to content
Myr

Remove app.router error message

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

authored by Douglas Christopher Wilson · committed by Douglas Christopher Wilson · parent 8810306 · Browse files · 2 files+0 added−18 removed
This commit

State

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

Diff stats

2 files+0 added−18 removed

  • tests:+0 added−12 removed
  • other:+0 added−6 removed

2 files+0 added−18 removed

modified:lib/application.js-6 removed
83 unmodified lines
8485 if (env === 'production') {86 this.enable('view cache');87 }8889 Object.defineProperty(this, 'router', {90 get: function() {91 throw new Error('\'app.router\' is deprecated!\nPlease see the 3.x to 4.x migration guide for details on how to update your app.');92 }93 });88};8990/**91 * lazily adds the base router if it has not yet been added.
474 unmodified lines
modified:test/app.js-12 removed