Fix the build take 2.
This commit is contained in:
parent
b7b08b4173
commit
e78f1d7589
|
@ -214,7 +214,8 @@ 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.\-\+]+[^.json]/i }
|
||||
put 'site_texts/:id.json' => 'site_texts#update', 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'
|
||||
|
|
Loading…
Reference in New Issue