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
|
||||
end
|
||||
|
||||
def remix
|
||||
end
|
||||
|
||||
def index
|
||||
conditions = build_conditions(request.params)
|
||||
|
||||
|
|
|
|||
|
|
@ -16,6 +16,7 @@ Rails.application.routes.draw do
|
|||
|
||||
get 'parties/favorites', to: 'parties#favorites'
|
||||
get 'parties/:id', to: 'parties#show'
|
||||
post 'parties/:id/remix', to: 'parties#remix'
|
||||
|
||||
put 'parties/:id/jobs', to: 'jobs#update_job'
|
||||
put 'parties/:id/job_skills', to: 'jobs#update_job_skills'
|
||||
|
|
|
|||
Loading…
Reference in a new issue