diff --git a/app/routes.js b/app/routes.js index bbba841..46dec3b 100644 --- a/app/routes.js +++ b/app/routes.js @@ -18,7 +18,7 @@ module.exports = function(match) { }); }); - match('/posts/:id', function(id, callback) { + match('/post/:id', function(id, callback) { console.log('post: ' + id); apiClient.get('/posts/' + id + '.json', function(err, res) { diff --git a/app/views/Posts.jsx b/app/views/Posts.jsx index e412d7b..22c9030 100644 --- a/app/views/Posts.jsx +++ b/app/views/Posts.jsx @@ -8,7 +8,7 @@ var Posts = React.createClass({

Posts