Create basic film page
This commit is contained in:
@@ -24,7 +24,7 @@ describe("Film", () => {
|
||||
});
|
||||
|
||||
expect(wrapper.findComponent(RouterLinkStub).props().to).toBe(
|
||||
`/film/${mockFilms[0].id}`
|
||||
`/films/${mockFilms[0].id}`
|
||||
);
|
||||
});
|
||||
});
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
</p>
|
||||
<router-link
|
||||
class="rounded font-semibold bg-gray-400 py-2 px-4 border-b-4 border-gray-500"
|
||||
:to="`/film/${film.id}`"
|
||||
:to="`/films/${film.id}`"
|
||||
tag="button"
|
||||
>
|
||||
Read more
|
||||
|
||||
Reference in New Issue
Block a user