From a59b27e32e876eec58f8db18dd9d21695ef052ad Mon Sep 17 00:00:00 2001 From: Thom Page Date: Wed, 15 Jun 2016 16:35:08 -0400 Subject: [PATCH] updates instructions --- .../homework/vampires_express/homework_instructions.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/unit_02/w05d04/homework/vampires_express/homework_instructions.md b/unit_02/w05d04/homework/vampires_express/homework_instructions.md index 0bd48e6..9993592 100644 --- a/unit_02/w05d04/homework/vampires_express/homework_instructions.md +++ b/unit_02/w05d04/homework/vampires_express/homework_instructions.md @@ -43,6 +43,14 @@ The app will also be able to store new vampires. You click on a 'new vampire' li - Run `npm install` to install all the dependencies that are already in `package.json`. +- `require` the Vampires data stored in the `models` folder: + +``` +var vampires = require('./models/vampires.js'); +``` + + + ### Controllers - Make your `index` and `show` routes for the vampires in the vampires model.