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

This commit is contained in:
Manuel Bustillo 2025-06-08 19:03:39 +00:00
parent cc10fbfb83
commit 3e363ac7dd
4 changed files with 8 additions and 0 deletions

View File

@ -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

View File

@ -1,3 +1,5 @@
# Copyright (C) 2024-2025 LibreWeddingPlanner contributors
# == Schema Information # == Schema Information
# #
# Table name: websites # Table name: websites

View File

@ -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" }

View File

@ -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