1. Peter Sanchez
  2. redmine-bitbucket

Commits

Jakob Skjerning  committed 9538a7f

Skip authenticity token verification as Github can't possibly know that token

  • Participants
  • Parent commits 24a7489
  • Branches default

Comments (0)

Files changed (1)

File app/controllers/github_hook_controller.rb

View file
 
 class GithubHookController < ApplicationController
 
+  skip_before_filter :verify_authenticity_token
+
   def index
     payload = JSON.parse(params[:payload])
     logger.debug { "Received from Github: #{payload.inspect}" }