Compare commits
2 Commits
4e2d046b18
...
d1791e12c7
| Author | SHA1 | Date | |
|---|---|---|---|
| d1791e12c7 | |||
| 3832f1d840 |
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user