Merge remote-tracking branch 'origin/main' into feature/169

このコミットが含まれているのは:
2025-12-30 10:58:30 +09:00
コミット 271a469f6e
8個のファイルの変更175行の追加72行の削除
+16
ファイルの表示
@@ -13,6 +13,22 @@ class WikiPagesController < ApplicationController
render_wiki_page_or_404 WikiPage.find_by(title: params[:title])
end
def exists
if WikiPage.exists?(params[:id])
head :no_content
else
head :not_found
end
end
def exists_by_title
if WikiPage.exists?(title: params[:title])
head :no_content
else
head :not_found
end
end
def diff
id = params[:id]
from = params[:from]
+1
ファイルの表示
@@ -6,6 +6,7 @@ class NicoTagRelation < ApplicationRecord
validates :tag_id, presence: true
validate :nico_tag_must_be_nico
validate :tag_mustnt_be_nico
private