mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2025-02-17 00:21:20 -05:00
Merge pull request #41 from rschamp/bugfix/project-links
Fix GH-37: Construct project urls correctly
This commit is contained in:
commit
a696f30040
1 changed files with 3 additions and 0 deletions
|
@ -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 + '/';
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue