mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-10 01:01:39 -05:00
10 lines
176 B
Ruby
10 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
|