Signup I step 2

I cannot pass the step, by copying and pasting the code :

get ‘signup’ => ‘users#new’
resources :users

please help,

this is my error :smile:
Oops! The test returned an error. Maybe you have a syntax error, or a typo. Hide error.
/var/lib/gems/2.0.0/gems/activerecord-4.1.1/lib/active_record/migration.rb:389:in `check_pending!’: (ActiveRecord::PendingMigrationError)

You have to have blank lines around the code, like this:

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

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