Skip to content

Commit a8e8566

Browse files
authored
Merge pull request #103 from dunglas/fix-relation-link
Fix relation link
2 parents 8dc3ca6 + efee5ab commit a8e8566

File tree

1 file changed

+3
-1
lines changed
  • templates/react/components/foo

1 file changed

+3
-1
lines changed

templates/react/components/foo/Show.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,9 @@ class Show extends Component {
100100
}
101101

102102
return (
103-
<Link to={`../${type}/show/${encodeURIComponent(items)}`}>{items}</Link>
103+
<Link to={`../../${type}/show/${encodeURIComponent(items)}`}>
104+
{items}
105+
</Link>
104106
);
105107
};
106108
}

0 commit comments

Comments
 (0)