Plans, subscriptions
* Plans controller * Subscription controller * Clean admin controller * Ember Plans route * Index page * New Plans * Translations
This commit is contained in:
@@ -38,10 +38,19 @@ en:
|
||||
confirm_payment: Confirm payment
|
||||
success: Go back
|
||||
admin:
|
||||
payment_history:
|
||||
dashboard:
|
||||
title: Dashboard
|
||||
table:
|
||||
head:
|
||||
user: User
|
||||
payment_intent: Payment ID
|
||||
receipt_email: Receipt Email
|
||||
amount: Amount
|
||||
plans:
|
||||
title: Plans
|
||||
new: New
|
||||
table:
|
||||
head:
|
||||
plan: Plan
|
||||
subscriptions:
|
||||
title: Subscriptions
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
DiscoursePatrons::Engine.routes.draw do
|
||||
get '/admin' => 'admin#index'
|
||||
get '/admin/subscriptions' => 'subscriptions#index'
|
||||
get '/admin/plans/:plan_id' => 'plans#show'
|
||||
get '/' => 'patrons#index'
|
||||
get '/:pid' => 'patrons#show'
|
||||
resources :patrons, only: [:index, :create]
|
||||
|
||||
Reference in New Issue
Block a user