Browse Source

change page language_frame enum

pull/338/head
呱呱呱 2 years ago
parent
commit
4790f34e0e
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/models/page.rb

+ 1
- 1
app/models/page.rb View File

@@ -26,7 +26,7 @@ class Page < ApplicationRecord
belongs_to :project

# language_frame 前端语言框架
enum language_frame: { hugo: 0, hexo: 1, jeklly: 2}
enum language_frame: { hugo: 0, jeklly: 1, hexo: 2}
after_create do
PageService.genernate_user(user_id)


Loading…
Cancel
Save