Skip to content

Instantly share code, notes, and snippets.

@kaoussi
Created March 6, 2018 17:54
Show Gist options
  • Select an option

  • Save kaoussi/3c2d4727ce971625b7d4aa32a6a0af63 to your computer and use it in GitHub Desktop.

Select an option

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