dawarich/app/controllers/api/v1/stats_controller.rb

11 lines
233 B
Ruby
Raw Normal View History

2024-08-20 14:14:17 -04:00
# frozen_string_literal: true
class Api::V1::StatsController < ApplicationController
skip_forgery_protection
before_action :authenticate_api_key
def index
render json: StatsSerializer.new(current_api_user).call
end
end