app/controllers/writefully/hooks_controller.rb in writefully-0.7.1 vs app/controllers/writefully/hooks_controller.rb in writefully-0.8.0
- old
+ new
@@ -1,9 +1,8 @@
require_dependency "writefully/application_controller"
module Writefully
class HooksController < ApplicationController
- respond_to :json
before_filter :check_signature
HMAC_DIGEST = OpenSSL::Digest::Digest.new('sha1')
class InvalidSignature < StandardError; end