summaryrefslogtreecommitdiffstats
path: root/app/models/user_preference.rb
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2017-07-25 15:38:56 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2017-07-25 15:38:56 +0000
commitfc61598d55f5037912230a5ece9431515c731c30 (patch)
tree3bfb2cb07d6ce320e93761f278a827d5d98593aa /app/models/user_preference.rb
parent9555732eb3af681379202e94269c254979fc04ae (diff)
downloadredmine-fc61598d55f5037912230a5ece9431515c731c30.tar.gz
redmine-fc61598d55f5037912230a5ece9431515c731c30.zip
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
Diffstat (limited to 'app/models/user_preference.rb')
-rw-r--r--app/models/user_preference.rb2
1 files changed, 2 insertions, 0 deletions
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