this route in case it is entered in the browser
This commit is contained in:
parent
b05b03e25b
commit
a914d4ee59
|
@ -24,6 +24,7 @@ extend_content_security_policy(
|
|||
add_admin_route 'discourse_patrons.title', 'discourse-patrons.dashboard'
|
||||
|
||||
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/products' => 'admin/plugins#index'
|
||||
get '/admin/plugins/discourse-patrons/products/:product_id' => 'admin/plugins#index'
|
||||
|
|
Loading…
Reference in New Issue