fix csrf which changed with rails 2.3.11

This commit is contained in:
Reinier Balt 2011-02-12 16:26:16 +01:00
parent 736224aadb
commit 0d28115d18
4 changed files with 3 additions and 3 deletions

View file

@ -1,6 +1,6 @@
# adapted from https://gist.github.com/471663 and https://rails.lighthouseapp.com/projects/8994/tickets/4690-mongrel-doesnt-work-with-rails-238
if Rails.version == '2.3.10' && Gem.available?('mongrel', '~>1.1.5') && self.class.const_defined?(:Mongrel)
if Rails.version == '2.3.11' && Gem.available?('mongrel', '~>1.1.5') && self.class.const_defined?(:Mongrel)
# Pulled right from latest rack. Old looked like this in 1.1.0 version.
#