Class: CompletionKit::Api::V1::ResponsesController

Inherits:
BaseController
  • Object
show all
Defined in:
app/controllers/completion_kit/api/v1/responses_controller.rb

Instance Method Summary collapse

Instance Method Details

#indexObject



8
9
10
# File 'app/controllers/completion_kit/api/v1/responses_controller.rb', line 8

def index
  render json: @run.responses.includes(:reviews)
end

#showObject



12
13
14
# File 'app/controllers/completion_kit/api/v1/responses_controller.rb', line 12

def show
  render json: @response
end