dawarich/app/controllers/api/v1/tile_usages_controller.rb
2025-02-11 20:45:36 +01:00

9 lines
176 B
Ruby

# frozen_string_literal: true
class Api::V1::TileUsagesController < ApiController
def create
TileUsage::Track.new(params[:tile_count].to_i).call
head :ok
end
end