Merge pull request #41 from rschamp/bugfix/project-links

Fix GH-37: Construct project urls correctly
This commit is contained in:
Andrew Sliwinski 2015-10-08 16:20:36 -04:00
commit a696f30040

View file

@ -33,6 +33,9 @@ module.exports = React.createClass({
case 'gallery':
href = '/studio/' + item.id + '/';
break;
case 'project':
href = '/projects/' + item.id + '/';
break;
default:
href = '/' + item.type + '/' + item.id + '/';
}