dawarich/app/controllers/api/v1/points/tracked_months_controller.rb

8 lines
164 B
Ruby
Raw Normal View History

# frozen_string_literal: true
class Api::V1::Points::TrackedMonthsController < ApiController
def index
render json: current_api_user.years_tracked
end
end