Skip to content

Commit b05f3d7

Browse files
committed
technically allowed ability names to be updated as well (no UI for now)
1 parent 3c789a2 commit b05f3d7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/controllers/abilities_controller.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def recalc
4545
private
4646

4747
def ability_update_params
48-
params.require(:ability).permit(:description)
48+
params.require(:ability).permit(:description, :name)
4949
end
5050

5151
# Actually update a given set of abilities network-wide

0 commit comments

Comments
 (0)