Skip to content
Snippets Groups Projects
Commit b2bdf537 authored by Inès Yeterian's avatar Inès Yeterian
Browse files

try to redirect toucan link to urltitle-year

parent 8fe000a2
Branches
No related tags found
1 merge request!4Url/year/title
......@@ -46,10 +46,10 @@ function AllToucan(props){
updateFrame = {updateFrame}
/>
<Card.Group centered >
{toucans.map( toucan => {
{urltoucans.map( toucan => {
return <ToucanCard
image={`${props.backURL}/toucan/img/${toucan["_id"]}`}
link={`${props.backURL}/toucan/pdf/${toucan.title}`}
link={`${props.backURL}/toucan/pdf/${toucan.urlID}`}
header={toucan.title}
toucanId={toucan._id}
isAdmin={props.isAdmin}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment