Sha256: 6d3fc40bd8b998695969aa31d8fd853c6fc8381e86d4a27c8d1e7a49ecd06bd5

Contents?: true

Size: 259 Bytes

Versions: 3

Compression:

Stored size: 259 Bytes

Contents

module WatCatcher
  class WatsController  < ActionController::Base
    skip_before_filter :verify_authenticity_token, only: :create

    include WatCatcher::CatcherOfWats

    def create
      Report.new(nil, request: request)
      head :ok
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
wat_catcher-0.6.0 app/controllers/wat_catcher/wats_controller.rb
wat_catcher-0.5.5 app/controllers/wat_catcher/wats_controller.rb
wat_catcher-0.5.4 app/controllers/wat_catcher/wats_controller.rb