Compare commits
No commits in common. "d1791e12c7c5c64763ec53cc6d5beda26cc754af" and "4e2d046b18a431e0c67c91396a0ac07d33ba9f51" have entirely different histories.
d1791e12c7
...
4e2d046b18
@ -3,8 +3,6 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
class WebsitesController < ApplicationController
|
class WebsitesController < ApplicationController
|
||||||
skip_before_action :authenticate_user!, only: :show
|
|
||||||
|
|
||||||
def show
|
def show
|
||||||
render json: current_tenant.website.as_json(only: %i[content]) || {}, status: :ok
|
render json: current_tenant.website.as_json(only: %i[content]) || {}, status: :ok
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user