Do not require authentication to access the public website content
Some checks failed
Run unit tests / copyright_notice (pull_request) Successful in 54s
Run unit tests / check-licenses (pull_request) Successful in 2m52s
Run unit tests / unit_tests (pull_request) Successful in 7m42s
Run unit tests / rubocop (pull_request) Failing after 21s
Run unit tests / build-static-assets (pull_request) Has been skipped
Some checks failed
Run unit tests / copyright_notice (pull_request) Successful in 54s
Run unit tests / check-licenses (pull_request) Successful in 2m52s
Run unit tests / unit_tests (pull_request) Successful in 7m42s
Run unit tests / rubocop (pull_request) Failing after 21s
Run unit tests / build-static-assets (pull_request) Has been skipped
This commit is contained in:
parent
4e2d046b18
commit
ed20e51b93
@ -3,6 +3,9 @@
|
||||
# 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
|
||||
|
Loading…
x
Reference in New Issue
Block a user