12 lines
354 B
Ruby
12 lines
354 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'
|
|
post '/admin/plans' => 'plans#create'
|
|
get '/' => 'patrons#index'
|
|
get '/:pid' => 'patrons#show'
|
|
resources :patrons, only: [:index, :create]
|
|
end
|