Skip to content

Commit 1c8d162

Browse files
suissaJean Carlo Nascimento
authored andcommitted
Integrada a API de beers criada na aula passada
1 parent c89ba63 commit 1c8d162

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

app.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ app.use('/partials', partials);
5454

5555
// JSON API
5656
app.use('/api', api);
57+
app.use('/api/beers', modulesAPI.beers);
5758

5859
// redirect all others to the index (HTML5 history)
5960
app.get('*', function(req, res, next) {

modules/beers/model.js

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)