this route in case it is entered in the browser

This commit is contained in:
Rimian Perkins 2019-10-18 11:54:49 +11:00
parent b05b03e25b
commit a914d4ee59
1 changed files with 1 additions and 0 deletions

View File

@ -24,6 +24,7 @@ extend_content_security_policy(
add_admin_route 'discourse_patrons.title', 'discourse-patrons.dashboard' add_admin_route 'discourse_patrons.title', 'discourse-patrons.dashboard'
Discourse::Application.routes.append do Discourse::Application.routes.append do
get '/admin/plugins/discourse-patrons' => 'admin/plugins#index'
get '/admin/plugins/discourse-patrons/dashboard' => 'admin/plugins#index' get '/admin/plugins/discourse-patrons/dashboard' => 'admin/plugins#index'
get '/admin/plugins/discourse-patrons/products' => 'admin/plugins#index' get '/admin/plugins/discourse-patrons/products' => 'admin/plugins#index'
get '/admin/plugins/discourse-patrons/products/:product_id' => 'admin/plugins#index' get '/admin/plugins/discourse-patrons/products/:product_id' => 'admin/plugins#index'