Signup I Step3


#1

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

Anybody knows why?


#2

I have same problem. I wrote this in config/routes.rb.


#3

Nothing one month later it doesn't work. Yes it is added into config/routes.rb but nothing.
Give syntax error


#4

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'

get 'signup' => 'users#new'
resources :users


#6

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.