update Webhooks UI

This commit is contained in:
Alex Turchyn
2024-11-08 20:14:43 +02:00
committed by Pete Matsyburka
parent 4ea863592b
commit fd3530ac62
10 changed files with 315 additions and 57 deletions
+2 -1
View File
@@ -10,7 +10,8 @@ class WebhookSecretController < ApplicationController
webhook_secret_params[:key] => webhook_secret_params[:value]
}.compact_blank)
redirect_back(fallback_location: settings_webhooks_path, notice: I18n.t('webhook_secret_has_been_saved'))
redirect_back(fallback_location: settings_webhook_path(@webhook_url),
notice: I18n.t('webhook_secret_has_been_saved'))
end
private