Commit 158f9aff738fd468878a1c2c92f396024a9483a2
1 parent
9194c855
Exists in
theme-brasil-digital-from-staging
and in
9 other branches
Added sanitize to content viewer controller
Showing
1 changed file
with
4 additions
and
0 deletions
Show diff stats
app/controllers/public/content_viewer_controller.rb
@@ -6,6 +6,10 @@ class ContentViewerController < ApplicationController | @@ -6,6 +6,10 @@ class ContentViewerController < ApplicationController | ||
6 | 6 | ||
7 | helper ProfileHelper | 7 | helper ProfileHelper |
8 | helper TagsHelper | 8 | helper TagsHelper |
9 | + include SanitizeParams | ||
10 | + | ||
11 | + | ||
12 | + before_filter :sanitize_params | ||
9 | 13 | ||
10 | def view_page | 14 | def view_page |
11 | path = get_path(params[:page], params[:format]) | 15 | path = get_path(params[:page], params[:format]) |