summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorDavid Gay <david@davidgay.org>2021-06-22 22:15:41 -0400
committerDavid Gay <david@davidgay.org>2021-06-22 22:15:41 -0400
commit5fde28051b17e0f498bc9bb09666c2567d4c776a (patch)
tree628e5af0329857267934c705a4ad97040954f12a /config
parentbf06c3419659ddd5dfd848d5bdde3975069e037a (diff)
Fix being unable to change combat styles
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb
index fefd12f..6e435f2 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -24,7 +24,7 @@ Rails.application.routes.draw do
end
resources :characters, only: [:show, :new, :create] do
- post "/combat_styles", to: "characters#set_combat_styles"
+ post "/combat_styles", to: "characters#set_combat_styles", on: :member
scope module: :characters do
get "/rankings", to: "rankings#index"
get :bestiary, to: "bestiary#index"