add submitters api

This commit is contained in:
Alex Turchyn
2023-08-04 00:40:13 +03:00
parent 63e1246a11
commit 7912c9a1ee
16 changed files with 177 additions and 35 deletions
@@ -2,6 +2,10 @@
module Api
class TemplatesController < ApiBaseController
def index
render json: current_account.templates
end
def update
@template = current_account.templates.find(params[:id])