diff options
Diffstat (limited to 'lib/redmine/views/builders/json.rb')
-rw-r--r-- | lib/redmine/views/builders/json.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/redmine/views/builders/json.rb b/lib/redmine/views/builders/json.rb index 47ce0cc9b..011c16e58 100644 --- a/lib/redmine/views/builders/json.rb +++ b/lib/redmine/views/builders/json.rb @@ -28,7 +28,7 @@ module Redmine def initialize(request, response) super callback = request.params[:callback] || request.params[:jsonp] - if callback && Setting.jsonp_enabled? + if callback && ::Setting.jsonp_enabled? self.jsonp = callback.to_s.gsub(/[^a-zA-Z0-9_.]/, '') end end |