From fc61598d55f5037912230a5ece9431515c731c30 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Tue, 25 Jul 2017 15:38:56 +0000 Subject: fix NameError (uninitialized constant) when "config.eager_load = true" (#26513) git-svn-id: http://svn.redmine.org/redmine/trunk@16882 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/models/user_preference.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'app/models/user_preference.rb') diff --git a/app/models/user_preference.rb b/app/models/user_preference.rb index 1bf60c7f6..efdc41e2d 100644 --- a/app/models/user_preference.rb +++ b/app/models/user_preference.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/my_page' + class UserPreference < ActiveRecord::Base include Redmine::SafeAttributes -- cgit v1.2.3