@@ -64,7 +65,7 @@ class SketchList extends React.Component { } })()} - {sketch.name} + {sketch.name} {moment(sketch.createdAt).format('MMM D, YYYY h:mm:ss A')} {moment(sketch.updatedAt).format('MMM D, YYYY h:mm:ss A')} diff --git a/client/modules/IDE/components/Toolbar.jsx b/client/modules/IDE/components/Toolbar.jsx index fcc9dbaf..630c57ca 100644 --- a/client/modules/IDE/components/Toolbar.jsx +++ b/client/modules/IDE/components/Toolbar.jsx @@ -95,7 +95,7 @@ class Toolbar extends React.Component {
{ if (this.canEditProjectName()) { e.preventDefault(); diff --git a/client/modules/IDE/pages/IDEView.jsx b/client/modules/IDE/pages/IDEView.jsx index 238460c7..4277b420 100644 --- a/client/modules/IDE/pages/IDEView.jsx +++ b/client/modules/IDE/pages/IDEView.jsx @@ -414,6 +414,7 @@ class IDEView extends React.Component { ); diff --git a/client/routes.jsx b/client/routes.jsx index ea3a8fe6..a2e461f5 100644 --- a/client/routes.jsx +++ b/client/routes.jsx @@ -21,6 +21,7 @@ const routes = (store) => + diff --git a/server/routes/server.routes.js b/server/routes/server.routes.js index d18a932e..8891f56e 100644 --- a/server/routes/server.routes.js +++ b/server/routes/server.routes.js @@ -18,6 +18,10 @@ router.route('/projects/:project_id').get((req, res) => { res.send(renderIndex()); }); +router.route('/:username/sketches/:project_id').get((req, res) => { + res.send(renderIndex()); +}); + // router.route('/full/:project_id').get((req, res) => { // res.send(renderIndex()); // });