fix superclass

this didn't matter, since it overrides call
This commit is contained in:
Konstantin Haase 2011-06-20 09:22:15 +02:00
parent fade9d3b00
commit 6a8d4a0359
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ module Rack
# JSON GET APIs are volnurable to being embedded as JavaScript while the
# Array prototype has been patched to track data. Checks the referrer
# even on GET requests if the content type is JSON.
class JsonCsrf < AuthenticityToken
class JsonCsrf < Base
default_reaction :deny
def call(env)