fix error

This commit is contained in:
chiu 2020-04-06 11:09:02 +08:00
parent 98d56b3d05
commit 56a7dea299
1 changed files with 1 additions and 0 deletions

View File

@ -105,6 +105,7 @@ end
#end
begin
require 'mongoid'
require "#{dir_pwd}/app/models/concerns/slug"
require "#{dir_pwd}/app/models/site"
site_first = Site.first
if site_first[:display_title_in_frontend].nil?