From 276649b05a458f490a3d2495fccd6cdf1ac67140 Mon Sep 17 00:00:00 2001 From: i-guerrero Date: Sun, 27 Nov 2022 18:09:43 -0500 Subject: [PATCH 1/7] Add movie route --- src/App.js | 4 ++++ src/components/movies/MoviesIndex.js | 7 ++++++- src/components/movies/MoviesNewForm.js | 12 ++++++++++++ 3 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 src/components/movies/MoviesNewForm.js diff --git a/src/App.js b/src/App.js index 206efa9..5d15b0a 100644 --- a/src/App.js +++ b/src/App.js @@ -8,6 +8,8 @@ import Show from "./components/shows/Show"; import ShowsEditForm from "./components/shows/ShowsEditForm"; import ShowsIndex from "./components/shows/ShowsIndex"; import ShowsNewForm from "./components/shows/ShowsNewForm"; +import MoviesIndex from "./components/movies/MoviesIndex"; +import MoviesNewForm from "./components/movies/MoviesNewForm"; function App() { return ( @@ -20,6 +22,8 @@ function App() { } /> } /> } /> + } /> + } />