Commit 15a4ca5f7061c0d49045baba267268a89e4e3a17
1 parent
158f9aff
Exists in
staging
and in
4 other branches
Added sanitize to the comment_group plugin
Showing
1 changed file
with
3 additions
and
0 deletions
Show diff stats
plugins/comment_group/controllers/profile/comment_group_plugin_profile_controller.rb
1 | class CommentGroupPluginProfileController < ProfileController | 1 | class CommentGroupPluginProfileController < ProfileController |
2 | append_view_path File.join(File.dirname(__FILE__) + '/../../views') | 2 | append_view_path File.join(File.dirname(__FILE__) + '/../../views') |
3 | 3 | ||
4 | + include SanitizeParams | ||
5 | + before_filter :sanitize_params | ||
6 | + | ||
4 | def view_comments | 7 | def view_comments |
5 | @article_id = params[:article_id] | 8 | @article_id = params[:article_id] |
6 | @group_id = params[:group_id] | 9 | @group_id = params[:group_id] |