mirror of
https://github.com/docusealco/docuseal
synced 2026-11-06 23:12:33 -05:00
show archived shared templates
This commit is contained in:
1 parent
2840359396
commit
b2790776ef
8 files changed
+38
-13
No files matched your search
@@ -4,7 +4,7 @@ class TemplatesRestoreController < ApplicationController
|
||||
load_and_authorize_resource :template
|
||||
|
||||
def create
|
||||
authorize!(:update, @template)
|
||||
authorize!(:destroy, @template)
|
||||
|
||||
@template.update!(archived_at: nil)
|
||||
|
||||
|
||||
Reference in new issue
Block a user