Add endpoint and stub method
This commit is contained in:
parent
24b15c0740
commit
70bbd47606
2 changed files with 4 additions and 0 deletions
|
|
@ -57,6 +57,9 @@ module Api
|
||||||
return render json: PartyBlueprint.render(@party, view: :destroyed, root: :checkin) if @party.destroy
|
return render json: PartyBlueprint.render(@party, view: :destroyed, root: :checkin) if @party.destroy
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def remix
|
||||||
|
end
|
||||||
|
|
||||||
def index
|
def index
|
||||||
conditions = build_conditions(request.params)
|
conditions = build_conditions(request.params)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -16,6 +16,7 @@ Rails.application.routes.draw do
|
||||||
|
|
||||||
get 'parties/favorites', to: 'parties#favorites'
|
get 'parties/favorites', to: 'parties#favorites'
|
||||||
get 'parties/:id', to: 'parties#show'
|
get 'parties/:id', to: 'parties#show'
|
||||||
|
post 'parties/:id/remix', to: 'parties#remix'
|
||||||
|
|
||||||
put 'parties/:id/jobs', to: 'jobs#update_job'
|
put 'parties/:id/jobs', to: 'jobs#update_job'
|
||||||
put 'parties/:id/job_skills', to: 'jobs#update_job_skills'
|
put 'parties/:id/job_skills', to: 'jobs#update_job_skills'
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue