Commit 15a4ca5f7061c0d49045baba267268a89e4e3a17
1 parent
158f9aff
Exists in
theme-brasil-digital-from-staging
and in
9 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 | 1 | class CommentGroupPluginProfileController < ProfileController |
| 2 | 2 | append_view_path File.join(File.dirname(__FILE__) + '/../../views') |
| 3 | 3 | |
| 4 | + include SanitizeParams | |
| 5 | + before_filter :sanitize_params | |
| 6 | + | |
| 4 | 7 | def view_comments |
| 5 | 8 | @article_id = params[:article_id] |
| 6 | 9 | @group_id = params[:group_id] | ... | ... |