update Webhooks UI
This commit is contained in:
committed by
Pete Matsyburka
parent
4ea863592b
commit
fd3530ac62
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user