mirror of
https://github.com/discourse/discourse.git
synced 2025-01-19 05:43:16 +08:00
FIX: Support updating the google+
key
This commit is contained in:
parent
6fdbd29882
commit
552e01a266
|
@ -200,9 +200,9 @@ Discourse::Application.routes.draw do
|
|||
|
||||
# They have periods in their URLs often:
|
||||
get 'site_texts' => 'site_texts#index'
|
||||
get 'site_texts/(:id)' => 'site_texts#show', constraints: { id: /[\w.\-]+/i }
|
||||
put 'site_texts/(:id)' => 'site_texts#update', constraints: { id: /[\w.\-]+/i }
|
||||
delete 'site_texts/(:id)' => 'site_texts#revert', constraints: { id: /[\w.\-]+/i }
|
||||
get 'site_texts/(:id)' => 'site_texts#show', constraints: { id: /[\w.\-\+]+/i }
|
||||
put 'site_texts/(:id)' => 'site_texts#update', constraints: { id: /[\w.\-\+]+/i }
|
||||
delete 'site_texts/(:id)' => 'site_texts#revert', constraints: { id: /[\w.\-\+]+/i }
|
||||
|
||||
get 'email_templates' => 'email_templates#index'
|
||||
get 'email_templates/(:id)' => 'email_templates#show', constraints: { id: /[0-9a-z_.]+/ }
|
||||
|
|
Loading…
Reference in New Issue
Block a user