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.

14 lines
298 B

Rails.application.routes.draw do
resource :session, only: [:new, :create, :destroy]
resources :users
resources :reviews
root "movies#index"
resources :movies do
resources :favorites, only: [:create, :destroy]
resources :reviews
end
get "signup" => "users#new"
end