mirror of
https://github.com/docusealco/docuseal
synced 2026-11-04 06:42:32 -05:00
fix test mode modal
This commit is contained in:
1 parent
d4a79ca5db
commit
5ea6289b7a
2 files changed
+22
-8
No files matched your search
@@ -32,9 +32,13 @@ class WebhookSettingsController < ApplicationController
|
||||
def new; end
|
||||
|
||||
def create
|
||||
@webhook_url.save!
|
||||
if @webhook_url.url.present?
|
||||
@webhook_url.save!
|
||||
|
||||
redirect_to settings_webhooks_path, notice: I18n.t('webhook_url_has_been_saved')
|
||||
redirect_to settings_webhooks_path, notice: I18n.t('webhook_url_has_been_saved')
|
||||
else
|
||||
redirect_back fallback_location: settings_webhooks_path
|
||||
end
|
||||
end
|
||||
|
||||
def update
|
||||
|
||||
Reference in new issue
Block a user