show archived shared templates

This commit is contained in:
Pete Matsyburka committed 2026-06-24 19:29:07 +03:00
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)