2024-02-03 22:37:17 +02:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
|
|
class TemplatesPreviewController < ApplicationController
|
|
|
|
|
load_and_authorize_resource :template
|
|
|
|
|
|
|
|
|
|
def show
|
2026-05-28 10:06:47 +03:00
|
|
|
@template_data = Templates.serialize_for_builder(@template)
|
2024-02-03 22:37:17 +02:00
|
|
|
|
|
|
|
|
render :show, layout: 'plain'
|
|
|
|
|
end
|
|
|
|
|
end
|