aboutsummaryrefslogtreecommitdiffstats
path: root/routes/index.js
diff options
context:
space:
mode:
authorTeddy Wing2013-04-28 01:02:51 -0400
committerTeddy Wing2013-04-28 01:02:51 -0400
commit39873fe54e46ce3c394c6450ab9a8472b9c0de29 (patch)
treea4411824627a1d946b7e559e7b324304616e1554 /routes/index.js
parenta1a3d44c8703f7f63a51106fa8777c2f3eee8e89 (diff)
downloadWho-am-I-39873fe54e46ce3c394c6450ab9a8472b9c0de29.tar.bz2
Add series_id to character-images URL
The '/character-images' endpoint must now be called with a series ID as part of the URL.
Diffstat (limited to 'routes/index.js')
-rw-r--r--routes/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/routes/index.js b/routes/index.js
index 7d9dd59..f0d7c86 100644
--- a/routes/index.js
+++ b/routes/index.js
@@ -3,5 +3,5 @@ module.exports = function(app) {
, character_images = require('./character-images');
app.get('/', index);
- app.get('/character-images', character_images);
+ app.get('/character-images/:series_id', character_images);
}; \ No newline at end of file