Don't run set_from_slug before destroying parties

This caused a 500 that caused parties to be unable to deleted
This commit is contained in:
Justin Edmund 2022-02-28 16:55:42 -08:00
parent d09036348d
commit 96adcc9540

View file

@ -1,5 +1,5 @@
class Api::V1::PartiesController < Api::V1::ApiController
before_action :set_from_slug, except: ['create', 'update', 'index', 'favorites']
before_action :set_from_slug, except: ['create', 'destroy', 'update', 'index', 'favorites']
before_action :set, only: ['update', 'destroy']
def create