This commit is contained in:
2025-06-15 14:24:41 +09:00
parent 50a9313525
commit fe8739b290
8 changed files with 144 additions and 11 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ class WikiPage < ApplicationRecord
email: 'dummy@example.com' }
if page
page.update(content, commit: commit_info)
wiki.update_page(page, id.to_s, :markdown, content, commit_info)
else
wiki.write_page(id.to_s, :markdown, content, commit_info)
end