diff --git a/patchfile.gemspec b/patchfile.gemspec index ff08e87..53f0cb2 100644 --- a/patchfile.gemspec +++ b/patchfile.gemspec @@ -107,6 +107,7 @@ begin require 'mongoid' require "#{dir_pwd}/app/models/concerns/slug" require "#{dir_pwd}/app/models/site" + include Site site_first = Site.first if site_first[:display_title_in_frontend].nil? puts 'close display double title in frontend'