mirror of
https://github.com/docusealco/docuseal
synced 2026-11-07 07:22:32 -05:00
archived nav
This commit is contained in:
1 parent
a4ca0abba1
commit
8259ebdb6c
9 files changed
+42
-20
No files matched your search
@@ -83,7 +83,11 @@ class TemplatesController < ApplicationController
|
||||
I18n.t('template_has_been_archived')
|
||||
end
|
||||
|
||||
redirect_back(fallback_location: root_path, notice:)
|
||||
if @template.destroyed? && turbo_native_app?
|
||||
redirect_to templates_archived_index_path, notice:
|
||||
else
|
||||
redirect_back(fallback_location: root_path, notice:)
|
||||
end
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
Reference in new issue
Block a user