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:
parent
d09036348d
commit
96adcc9540
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue