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

10 lines
176 B
Ruby
Raw Normal View History

2025-02-11 14:45:36 -05:00
# frozen_string_literal: true
class Api::V1::TileUsagesController < ApiController
def create
TileUsage::Track.new(params[:tile_count].to_i).call
head :ok
end
end