mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-11 09:41:40 -05:00
10 lines
233 B
Ruby
10 lines
233 B
Ruby
# 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
|