diff --git a/app/controllers/websites_controller.rb b/app/controllers/websites_controller.rb index 46e0d01..44b1fb1 100644 --- a/app/controllers/websites_controller.rb +++ b/app/controllers/websites_controller.rb @@ -3,6 +3,8 @@ # frozen_string_literal: true class WebsitesController < ApplicationController + skip_before_action :authenticate_user!, only: :show + def show render json: current_tenant.website.as_json(only: %i[content]) || {}, status: :ok end