Skip to content
Myr

remove use of app.configure for view cache setting

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

authored by Roman Shtylman · committed by Roman Shtylman · parent 185b526 · Browse files · 1 file+2 added−2 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+2 added−2 removed

  • other:+2 added−2 removed

1 file+2 added−2 removed

modified:lib/application.js+2 added-2 removed
84 unmodified lines
85 this.configure('development', function(){86 this.set('json spaces', 2);87 });8889 this.configure('production', function(){89 if (this.get('env') === 'production') {90 this.enable('view cache');91 });91 };92};9394/**95 * Proxy `connect#use()` to apply settings to
439 unmodified lines