update enum for oage

This commit is contained in:
chenjing 2023-09-01 14:15:39 +08:00
parent b48c65c3ff
commit 192f48f26c
1 changed files with 1 additions and 1 deletions

View File

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