Dpalazzari/johari_window_api

View on GitHub
app/controllers/api/v1/cohorts/users_controller.rb

Summary

Maintainability
A
0 mins
Test Coverage
class Api::V1::Cohorts::UsersController < Api::V1::BaseController

  def index
    cohort = Cohort.find(params[:cohort_id])
    render json: cohort.users
  end

end