Rails.application.routes.draw do
  root 'web/main#index'

  # registration
  namespace :api do
    namespace :v1 do
      # get '/registration', to: 'users/registrations#new', as: :registrations
      namespace :users do
        resources :registrations, only: %i[create]
      end
      # post '/registration', to: 'users/registrations#create'
    end
  end
end
