diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/routes.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb index 6754031..e048a85 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -1,4 +1,6 @@ Rails.application.routes.draw do + root to: "home#index", as: :home_index + devise_scope :user do get "login", to: "devise/sessions#new" get "logout", to: "devise/sessions#destroy" @@ -9,5 +11,5 @@ Rails.application.routes.draw do put "users", to: "devise/registrations#update", as: "user_registration" end - root to: "home#index", as: :home_index + resources :characters, only: [:show, :new, :create] end |