Commit 9194c855c35f9b7645ef36001c8b1a9b27ddaa16
1 parent
8c576313
Exists in
theme-brasil-digital-from-staging
and in
9 other branches
Added sanitize to profile search
Showing
1 changed file
with
3 additions
and
0 deletions
Show diff stats
app/controllers/public/profile_search_controller.rb
1 | class ProfileSearchController < PublicController | 1 | class ProfileSearchController < PublicController |
2 | 2 | ||
3 | include SearchHelper | 3 | include SearchHelper |
4 | + include SanitizeParams | ||
4 | 5 | ||
6 | + | ||
7 | + before_filter :sanitize_params | ||
5 | needs_profile | 8 | needs_profile |
6 | before_filter :check_access_to_profile | 9 | before_filter :check_access_to_profile |
7 | 10 |