]> source.dussan.org Git - redmine.git/commitdiff
fix NameError (uninitialized constant) when "config.eager_load = true" (#26513)
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Tue, 25 Jul 2017 15:38:56 +0000 (15:38 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Tue, 25 Jul 2017 15:38:56 +0000 (15:38 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@16882 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/helpers/queries_helper.rb
app/models/user_preference.rb

index 5f2f53fc7ad5d3eaf2207805558a9b56ad0559bf..acab44536c8f309740d93660501f65cafdc024db 100644 (file)
@@ -17,6 +17,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/export/csv'
+
 module QueriesHelper
   include ApplicationHelper
 
index 1bf60c7f6f1f68ef33cc9bc68b302d6469f42a9c..efdc41e2dfaf4189febf1b8b2a7126f6a203c3d3 100644 (file)
@@ -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