You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

8 lines
250 B

Rails.application.routes.draw do
root "movies#index"
get "movies" => "movies#index"
get "movies/:id" => "movies#show", as: "movie"
patch "movies/:id" => "movies#update"
get "movies/:id/edit" => "movies#edit", as: "edit_movie"
end