ability to share template with testing account

This commit is contained in:
Pete Matsyburka committed 2024-02-03 22:37:24 +02:00
1 parent 8630c68631
commit c67188edf8
25 files changed
+454 -206

No files matched your search

+1 -1
View File
@@ -75,6 +75,6 @@ class SubmissionsController < ApplicationController
end
def load_template
@template = current_account.templates.find(params[:template_id])
@template = Template.accessible_by(current_ability).find(params[:template_id])
end
end