From ee99e5bfcc2c3c173503b2edd9ab4888f3a03d0f Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Tue, 25 Jul 2017 12:08:02 +0000 Subject: fix search engine returns 500 error by Go MAEDA (#26526) git-svn-id: http://svn.redmine.org/redmine/trunk@16879 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- lib/plugins/acts_as_searchable/lib/acts_as_searchable.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib') diff --git a/lib/plugins/acts_as_searchable/lib/acts_as_searchable.rb b/lib/plugins/acts_as_searchable/lib/acts_as_searchable.rb index ef95c911b..e6b6b22fc 100644 --- a/lib/plugins/acts_as_searchable/lib/acts_as_searchable.rb +++ b/lib/plugins/acts_as_searchable/lib/acts_as_searchable.rb @@ -15,6 +15,8 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +require 'redmine/database' + module Redmine module Acts module Searchable -- cgit v1.2.3