Merge pull request '调整page枚举' (#111) from KingChan/forgeplus:chenjing into standalone_develop

This commit is contained in:
KingChan 2023-08-21 15:11:07 +08:00
commit cf2f5b3e0f
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ class Page < ApplicationRecord
belongs_to :project belongs_to :project
# language_frame 前端语言框架 # language_frame 前端语言框架
enum language_frame: { hugo: 0, hexo: 1, jeklly: 2} enum language_frame: { hugo: 0, jeklly: 1, hexo: 2}
after_create do after_create do
PageService.genernate_user(user_id) PageService.genernate_user(user_id)