* Plans controller * Subscription controller * Clean admin controller * Ember Plans route * Index page * New Plans * Translations
11 lines
314 B
Ruby
11 lines
314 B
Ruby
# frozen_string_literal: true
|
|
|
|
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]
|
|
end
|