summaryrefslogtreecommitdiff
path: root/app/views/characters
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 /app/views/characters
parentbf06c3419659ddd5dfd848d5bdde3975069e037a (diff)
Fix being unable to change combat styles
Diffstat (limited to 'app/views/characters')
-rw-r--r--app/views/characters/show.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/characters/show.html.erb b/app/views/characters/show.html.erb
index 96a87f8..ce8c461 100644
--- a/app/views/characters/show.html.erb
+++ b/app/views/characters/show.html.erb
@@ -31,7 +31,7 @@
<div class="my-2">
<% if @character == current_char %>
<h2 class="text-xl mb-2">Combat Styles</h2>
- <%= form_with url: character_combat_styles_path(character_id: @character) do |f| %>
+ <%= form_with url: combat_styles_character_path(@character) do |f| %>
<%= f.label :offensive_style, "Offensive" %>
<%= f.select :offensive_style, Character.offensive_styles.keys.to_a, selected: @character.offensive_style %>