fix error
This commit is contained in:
parent
36c8e5192e
commit
a44fc98250
|
@ -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"
|
||||||
|
require "#{dir_pwd}/app/uploaders/image_uploader"
|
||||||
include 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?
|
||||||
|
|
Loading…
Reference in New Issue