diff --git a/app/controllers/my_module_comments_controller.rb b/app/controllers/my_module_comments_controller.rb index 8b5a484ca..9882145d1 100644 --- a/app/controllers/my_module_comments_controller.rb +++ b/app/controllers/my_module_comments_controller.rb @@ -1,5 +1,6 @@ class MyModuleCommentsController < ApplicationController include ActionView::Helpers::TextHelper + include InputSanitizeHelper before_action :load_vars before_action :check_view_permissions, only: :index diff --git a/app/controllers/project_comments_controller.rb b/app/controllers/project_comments_controller.rb index c25dba8ab..669f220de 100644 --- a/app/controllers/project_comments_controller.rb +++ b/app/controllers/project_comments_controller.rb @@ -1,5 +1,6 @@ class ProjectCommentsController < ApplicationController include ActionView::Helpers::TextHelper + include InputSanitizeHelper before_action :load_vars before_action :check_view_permissions, only: :index diff --git a/app/controllers/result_comments_controller.rb b/app/controllers/result_comments_controller.rb index 505e22c3c..737096bdb 100644 --- a/app/controllers/result_comments_controller.rb +++ b/app/controllers/result_comments_controller.rb @@ -1,5 +1,6 @@ class ResultCommentsController < ApplicationController include ActionView::Helpers::TextHelper + include InputSanitizeHelper before_action :load_vars diff --git a/app/controllers/step_comments_controller.rb b/app/controllers/step_comments_controller.rb index 799c60e24..d9f2a6675 100644 --- a/app/controllers/step_comments_controller.rb +++ b/app/controllers/step_comments_controller.rb @@ -1,5 +1,6 @@ class StepCommentsController < ApplicationController include ActionView::Helpers::TextHelper + include InputSanitizeHelper before_action :load_vars