Permalink
Browse files

Fix ActionController::InvalidAuthenticityToken during deploy notifica…

…tion.
  • Loading branch information...
1 parent eebdb97 commit fb736e43abdcb66ab35945bef313e7fdb33b0a8f @matthew matthew committed Oct 22, 2010
Showing with 3 additions and 1 deletion.
  1. +3 −1 app/controllers/deploys_controller.rb
@@ -1,5 +1,7 @@
class DeploysController < ApplicationController
-
+
+ protect_from_forgery :except => :create
+
skip_before_filter :authenticate_user!, :only => :create
def create

0 comments on commit fb736e4

Please sign in to comment.