Browse Source

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
tags/4.0.0
Toshi MARUYAMA 6 years ago
parent
commit
fc61598d55
2 changed files with 4 additions and 0 deletions
  1. 2
    0
      app/helpers/queries_helper.rb
  2. 2
    0
      app/models/user_preference.rb

+ 2
- 0
app/helpers/queries_helper.rb View 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


+ 2
- 0
app/models/user_preference.rb View 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


Loading…
Cancel
Save