Created market share chart data endpoint

This commit is contained in:
Sergei Tsõganov 2022-08-25 10:57:36 +03:00
parent 0745efc766
commit 0c960fea67
2 changed files with 43 additions and 0 deletions

View file

@ -99,6 +99,11 @@ Rails.application.routes.draw do
end
resources :auctions, only: %i[index]
resources :retained_domains, only: %i[index]
resources :stats do
collection do
get '/market_share', to: 'stats#market_share'
end
end
namespace :registrar do
resources :notifications, only: [:index, :show, :update] do
collection do