try fix error
This commit is contained in:
parent
56a7dea299
commit
36c8e5192e
|
@ -107,6 +107,7 @@ begin
|
||||||
require 'mongoid'
|
require 'mongoid'
|
||||||
require "#{dir_pwd}/app/models/concerns/slug"
|
require "#{dir_pwd}/app/models/concerns/slug"
|
||||||
require "#{dir_pwd}/app/models/site"
|
require "#{dir_pwd}/app/models/site"
|
||||||
|
include Site
|
||||||
site_first = Site.first
|
site_first = Site.first
|
||||||
if site_first[:display_title_in_frontend].nil?
|
if site_first[:display_title_in_frontend].nil?
|
||||||
puts 'close display double title in frontend'
|
puts 'close display double title in frontend'
|
||||||
|
|
Loading…
Reference in New Issue