mirror of
https://github.com/redmine/redmine.git
synced 2025-11-10 07:16:03 +01:00
Replace BlankSlate with BasicObject for Builder 3.0.0 compatibility (#40802).
Patch by Pavel Rosický (@ahorek). git-svn-id: https://svn.redmine.org/redmine/trunk@22863 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user