Created
March 6, 2018 17:54
-
-
Save kaoussi/3c2d4727ce971625b7d4aa32a6a0af63 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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