summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2023-07-13 15:53:03 +0200
committerGitHub <noreply@github.com>2023-07-13 15:53:03 +0200
commit41f65edb213dc34e723e5bcc7d3ea920752941ef (patch)
treeedf450986cc4919067e79cc8515d99d9bd8bafb8 /config
parent644c5fddd8d04d3f59a2e9a716614bab748796c3 (diff)
Fix embed dropdown menu item for unauthenticated users (#25964)
Diffstat (limited to 'config')
-rw-r--r--config/routes/api.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/routes/api.rb b/config/routes/api.rb
index a10e8058a58..2fc84ace25d 100644
--- a/config/routes/api.rb
+++ b/config/routes/api.rb
@@ -296,7 +296,7 @@ namespace :api, format: false do
namespace :web do
resource :settings, only: [:update]
- resource :embed, only: [:create]
+ resources :embeds, only: [:show]
resources :push_subscriptions, only: [:create] do
member do
put :update