Add destroy implementation and json template

This commit is contained in:
Justin Edmund 2022-02-23 16:30:52 -08:00
parent 00be912c31
commit 18049385ce
2 changed files with 6 additions and 0 deletions

View file

@ -31,6 +31,7 @@ class Api::V1::PartiesController < Api::V1::ApiController
end
def destroy
render :destroyed, status: :ok if @party.destroy
end
def weapons

View file

@ -0,0 +1,5 @@
object false
node :destroyed do
true
end