summaryrefslogtreecommitdiffstats
path: root/app/models/query.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/query.rb')
-rw-r--r--app/models/query.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/models/query.rb b/app/models/query.rb
index 8fab46669..33962e319 100644
--- a/app/models/query.rb
+++ b/app/models/query.rb
@@ -144,6 +144,8 @@ class Query < ActiveRecord::Base
class StatementInvalid < ::ActiveRecord::StatementInvalid
end
+ include Redmine::SubclassFactory
+
VISIBILITY_PRIVATE = 0
VISIBILITY_ROLES = 1
VISIBILITY_PUBLIC = 2