mirror of
https://github.com/docusealco/docuseal
synced 2026-11-06 23:12:33 -05:00
show shared link enable button on disabled link page
This commit is contained in:
1 parent
a6715d4034
commit
7b1b4bcf2c
4 files changed
+54
-22
No files matched your search
@@ -10,7 +10,11 @@ class TemplatesShareLinkController < ApplicationController
|
||||
|
||||
@template.update!(template_params)
|
||||
|
||||
head :ok
|
||||
if params[:redir].present?
|
||||
redirect_to params[:redir]
|
||||
else
|
||||
head :ok
|
||||
end
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
Reference in new issue
Block a user