Impossible to pass from here:
Rails.application.routes.draw do
root ‘albums#index’
get ‘albums’ => ‘albums#index’
get ‘albums/new’ => ‘albums#new’
get ‘albums/:id’ => ‘albums#show’, as: :album
post ‘albums’ => ‘albums#create’ get ‘signup’ => 'users#new’ resources :users
i had the same problem but it seems that you just have to leave a line before you write in the code
answer:
Rails.application.routes.draw do
root ‘albums#index’
get ‘albums’ => ‘albums#index’
get ‘albums/new’ => ‘albums#new’
get ‘albums/:id’ => ‘albums#show’, as: :album
post ‘albums’ => ‘albums#create’