mirror of
https://github.com/docusealco/docuseal
synced 2026-11-06 06:52:33 -05:00
add builder drawer
This commit is contained in:
1 parent
79f72c92b3
commit
d29be7c2cf
12 files changed
+299
-57
No files matched your search
@@ -4,12 +4,9 @@ class TemplatesVersionsController < ApplicationController
|
||||
load_and_authorize_resource :template
|
||||
|
||||
def index
|
||||
@versions = @template.template_versions.order(id: :desc).preload(:author)
|
||||
versions = @template.template_versions.order(id: :desc).preload(:author)
|
||||
|
||||
respond_to do |format|
|
||||
format.json { render json: @versions.as_json(TemplateVersions::SERIALIZE_PARAMS) }
|
||||
format.html
|
||||
end
|
||||
render json: versions.as_json(TemplateVersions::SERIALIZE_PARAMS)
|
||||
end
|
||||
|
||||
def show
|
||||
|
||||
Reference in new issue
Block a user