Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Gaurav0 committed Feb 12, 2016
2 parents dfead12 + 30a2b2e commit 2e7f3a1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ember-cli-build.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,9 @@ function getEmberCLIBlueprints() {
fileMap[blueprintName] = fs.readFileSync(filePath).toString();
}

// Location should be 'none' in router.js
fileMap['router'] = fileMap['router'].replace(/config\.locationType/, "'none'");

fileMap['resolver'] = fs.readFileSync('app/resolver.js').toString();
fileMap['twiddle.json'] = fs.readFileSync('blueprints/twiddle.json').toString();
fileMap['initializers/router'] = fs.readFileSync('blueprints/router_initializer.js').toString();
Expand Down

0 comments on commit 2e7f3a1

Please sign in to comment.