Add copyright notice
Some checks failed
Run unit tests / check-licenses (pull_request) Successful in 59s
Run unit tests / rubocop (pull_request) Failing after 1m5s
Run unit tests / copyright_notice (pull_request) Successful in 2m46s
Run unit tests / unit_tests (pull_request) Successful in 5m9s
Run unit tests / build-static-assets (pull_request) Has been skipped
Some checks failed
Run unit tests / check-licenses (pull_request) Successful in 59s
Run unit tests / rubocop (pull_request) Failing after 1m5s
Run unit tests / copyright_notice (pull_request) Successful in 2m46s
Run unit tests / unit_tests (pull_request) Successful in 5m9s
Run unit tests / build-static-assets (pull_request) Has been skipped
This commit is contained in:
parent
cc10fbfb83
commit
3e363ac7dd
@ -1,3 +1,5 @@
|
|||||||
|
# Copyright (C) 2024-2025 LibreWeddingPlanner contributors
|
||||||
|
|
||||||
class WebsitesController < ApplicationController
|
class WebsitesController < ApplicationController
|
||||||
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
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
# Copyright (C) 2024-2025 LibreWeddingPlanner contributors
|
||||||
|
|
||||||
# == Schema Information
|
# == Schema Information
|
||||||
#
|
#
|
||||||
# Table name: websites
|
# Table name: websites
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
# Copyright (C) 2024-2025 LibreWeddingPlanner contributors
|
||||||
|
|
||||||
FactoryBot.define do
|
FactoryBot.define do
|
||||||
factory :website do
|
factory :website do
|
||||||
content { "MyText" }
|
content { "MyText" }
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
# Copyright (C) 2024-2025 LibreWeddingPlanner contributors
|
||||||
|
|
||||||
require 'rails_helper'
|
require 'rails_helper'
|
||||||
|
|
||||||
RSpec.describe Website, type: :model do
|
RSpec.describe Website, type: :model do
|
||||||
|
Loading…
x
Reference in New Issue
Block a user