From 36c8e5192efde6ea9f7fe196e9c5095891db1883 Mon Sep 17 00:00:00 2001 From: chiu Date: Mon, 6 Apr 2020 11:10:16 +0800 Subject: [PATCH] try fix error --- patchfile.gemspec | 1 + 1 file changed, 1 insertion(+) 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'