2019-08-27 20:04:02 +10:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2019-09-11 19:11:02 +10:00
|
|
|
DiscoursePatrons::Engine.routes.draw do
|
2019-09-14 12:56:28 +10:00
|
|
|
get '/admin' => 'admin#index'
|
2019-09-23 17:53:05 +10:00
|
|
|
get '/admin/subscriptions' => 'subscriptions#index'
|
2019-09-25 11:18:11 +10:00
|
|
|
get '/admin/plans' => 'plans#index'
|
2019-09-24 16:04:42 +10:00
|
|
|
get '/admin/plans/:plan_id' => 'plans#show'
|
2019-09-24 20:44:51 +10:00
|
|
|
post '/admin/plans' => 'plans#create'
|
2019-09-11 19:11:02 +10:00
|
|
|
get '/' => 'patrons#index'
|
2019-09-14 17:28:58 +10:00
|
|
|
get '/:pid' => 'patrons#show'
|
2019-09-11 19:11:02 +10:00
|
|
|
resources :patrons, only: [:index, :create]
|
2017-01-31 13:28:41 +11:00
|
|
|
end
|