aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/question_category.rb')
-rw-r--r--app/models/question_category.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/models/question_category.rb b/app/models/question_category.rb
index c67ce9b..50a8ce8 100644
--- a/app/models/question_category.rb
+++ b/app/models/question_category.rb
@@ -24,4 +24,6 @@ class QuestionCategory < ActiveRecord::Base
belongs_to :question, :null => false, :index => false
belongs_to :category, :null => false, :index => false
index [:question_id, :category_id], :unique => true
+
+ include Permissions::AnyoneCanViewAdminCanChange
end