Aggiunge abbonamenti omaggio admin per sponsor e promozioni.
Gli admin possono concedere o revocare Premium Light/Full senza Stripe; il piano omaggio ha priorità sui webhook e la società vede un messaggio dedicato. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -68,7 +68,11 @@ Rails.application.routes.draw do
|
||||
get "billing", to: "billing#index", as: :billing
|
||||
post "billing/payments/:payment_id/attach_pdf", to: "billing#attach_pdf", as: :billing_payment_attach_pdf
|
||||
resources :teams, only: %i[index show]
|
||||
resources :clubs, only: [] do
|
||||
resources :clubs, only: %i[index show] do
|
||||
member do
|
||||
post :grant_comped
|
||||
delete :revoke_comped
|
||||
end
|
||||
resources :billing_invoices, only: %i[index new create edit update], controller: "billing_invoices"
|
||||
end
|
||||
resources :sessions, only: %i[index show] do
|
||||
|
||||
Reference in New Issue
Block a user