From 5fde28051b17e0f498bc9bb09666c2567d4c776a Mon Sep 17 00:00:00 2001 From: David Gay Date: Tue, 22 Jun 2021 22:15:41 -0400 Subject: Fix being unable to change combat styles --- app/views/characters/show.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/views/characters/show.html.erb') 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 @@
<% if @character == current_char %>

Combat Styles

- <%= 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 %> -- cgit v1.2.3