Permalink
Browse files

Disable json_csrf protection, it just blows up

  • Loading branch information...
1 parent cf354f6 commit 2bb744ce51a914ea33549a5d12a851b35faad8b2 @evanphx evanphx committed May 1, 2013
Showing with 2 additions and 0 deletions.
  1. +2 −0 app/middleware/hostess.rb
@@ -2,6 +2,8 @@ class Hostess < Sinatra::Base
enable :raise_errors
disable :show_exceptions
+ set :protection, { :except => [:json_csrf] }
+
cattr_writer :local
def self.local

0 comments on commit 2bb744c

Please sign in to comment.