diff options
author | David Gay <david@davidgay.org> | 2021-05-02 20:56:19 -0400 |
---|---|---|
committer | David Gay <david@davidgay.org> | 2021-05-02 20:56:19 -0400 |
commit | 1d5083ddf7f2b285e63bb8019d38199e862fa1d8 (patch) | |
tree | 6be0357a5e55f78faa94afbe9db025e0703f2f3b /config | |
parent | cd04bcc4b4e4f5174d2f042bfcf6b840e6e18fee (diff) |
Login with forced character creation, views, etc
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 |