Skip to content

Commit

Permalink
Copy routes template
Browse files Browse the repository at this point in the history
  • Loading branch information
Alfred J. Kwak committed Feb 13, 2017
1 parent c94fe44 commit 93ad181
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions generators/app/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,13 @@ module.exports = Generator.extend({
api: generator.api
}
);
generator.fs.copyTpl(
generator.templatePath('server/routes.js'),
generator.destinationPath('server/routes.js'),
{
api: generator.api
}
);
generator.fs.copy(
generator.templatePath('server/users.js'),
generator.destinationPath('server/users.js')
Expand Down

0 comments on commit 93ad181

Please # to comment.