app/controllers/veterans_controller.rb
# Returns a list of all users that follow this user unreciprocated
# GET /veterans/1/requests
Returns a list of all users that follow this user unreciprocated
GET /veterans/1/requests
Returns a list of all users that follow this user unreciprocated GET / veterans / 1 / requests
def requests
    @veteran = Veteran.find(params[:id])
    requesters = @veteran.followers - @veteran.follows
    render json: requesters
  end
def requests @veteran = Veteran . find ( params [ :id ] ) requesters = @veteran . followers - @veteran . follows render json : requesters end
Returns a list of all users that follow this user unreciprocated
GET /veterans/1/requests
Returns a list of all users that follow this user unreciprocated GET / veterans / 1 / requests