mirror of
https://github.com/docusealco/docuseal
synced 2026-11-05 14:42:33 -05:00
add template access
This commit is contained in:
1 parent
bacbc4309c
commit
1746920eb5
21 files changed
+139
-17
No files matched your search
@@ -45,7 +45,7 @@ class TemplatesDashboardController < ApplicationController
|
||||
end
|
||||
|
||||
def filter_templates(templates)
|
||||
rel = templates.active.preload(:author).order(id: :desc)
|
||||
rel = templates.active.preload(:author, :template_accesses).order(id: :desc)
|
||||
|
||||
if params[:q].blank?
|
||||
if Docuseal.multitenant? && !current_account.testing?
|
||||
|
||||
Reference in new issue
Block a user