summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/helpers/queries_helper.rb2
-rw-r--r--app/models/user_preference.rb2
2 files changed, 4 insertions, 0 deletions
diff --git a/app/helpers/queries_helper.rb b/app/helpers/queries_helper.rb
index 5f2f53fc7..acab44536 100644
--- a/app/helpers/queries_helper.rb
+++ b/app/helpers/queries_helper.rb
@@ -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
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