SageBeard / blockipedia

0 stars 1 forks source link

blockipedia/config/routes.rb #1

Closed SageBeard closed 7 years ago

SageBeard commented 7 years ago

Once I sign-up I have a routing error for new user registration: "No route matches [GET] "/users" I set up my new & create user in the registration controller, and I'm not sure how to route so the user is created.

Rails.application.routes.draw do
  devise_scope :user do
    get 'Sign Up', to: 'devise/registrations#new'
  end

  get 'welcome/index'

  root 'welcome#index'

end
bdougie commented 7 years ago

If you run rake routes, then /users will not show. You might need to add the following to your routes