parent
144b2ca04f
commit
b3cb78a4d8
@ -1,3 +1,5 @@
|
|||||||
Rails.application.routes.draw do
|
Rails.application.routes.draw do
|
||||||
|
root "movies#index"
|
||||||
get "movies" => "movies#index"
|
get "movies" => "movies#index"
|
||||||
|
get "movies/:id" => "movies#show", as: "movie"
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in new issue