Skip to content

Instantly share code, notes, and snippets.

@kaoussi
Created March 6, 2018 17:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kaoussi/3c2d4727ce971625b7d4aa32a6a0af63 to your computer and use it in GitHub Desktop.
Save kaoussi/3c2d4727ce971625b7d4aa32a6a0af63 to your computer and use it in GitHub Desktop.
Rails.application.routes.draw do
devise_for :users, controllers: { registrations: 'users/registrations' }
authenticated :user do
root 'users#show', as: :authenticated_root
end
root to: 'welcome#index'
resources :users do
resource :profile
end
get 'welcome/plan'
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment