summaryrefslogtreecommitdiffstats
path: root/lib/plugins/acts_as_searchable
diff options
context:
space:
mode:
Diffstat (limited to 'lib/plugins/acts_as_searchable')
-rw-r--r--lib/plugins/acts_as_searchable/init.rb2
-rw-r--r--lib/plugins/acts_as_searchable/lib/acts_as_searchable.rb2
2 files changed, 4 insertions, 0 deletions
diff --git a/lib/plugins/acts_as_searchable/init.rb b/lib/plugins/acts_as_searchable/init.rb
index 063721756..204d0ce36 100644
--- a/lib/plugins/acts_as_searchable/init.rb
+++ b/lib/plugins/acts_as_searchable/init.rb
@@ -1,2 +1,4 @@
+# frozen_string_literal: false
+
require File.dirname(__FILE__) + '/lib/acts_as_searchable'
ActiveRecord::Base.send(:include, Redmine::Acts::Searchable)
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 e6b6b22fc..79a3f88fb 100644
--- a/lib/plugins/acts_as_searchable/lib/acts_as_searchable.rb
+++ b/lib/plugins/acts_as_searchable/lib/acts_as_searchable.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: false
+
# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
#