Sha256: 21582c32a58e20c9da8b821e3ff1afffd62ccdf1460d34e15405dbf2d37c015c

Contents?: true

Size: 343 Bytes

Versions: 24

Compression:

Stored size: 343 Bytes

Contents

class SendCodeController < ActionController::Base
  protect_from_forgery

  def index
    render json: {}
  end

  def initializer
    Bugsnag.notify("handled string")
    render json: {}
  end

  def after
    Bugsnag.configure do |conf|
      conf.send_code = false
    end
    Bugsnag.notify("handled string")
    render json: {}
  end
end

Version data entries

24 entries across 12 versions & 1 rubygems

Version Path
bugsnag-6.15.0 features/fixtures/rails3/app/app/controllers/send_code_controller.rb
bugsnag-6.15.0 features/fixtures/rails4/app/app/controllers/send_code_controller.rb
bugsnag-6.14.0 features/fixtures/rails4/app/app/controllers/send_code_controller.rb
bugsnag-6.14.0 features/fixtures/rails3/app/app/controllers/send_code_controller.rb
bugsnag-6.13.1 features/fixtures/rails3/app/app/controllers/send_code_controller.rb
bugsnag-6.13.1 features/fixtures/rails4/app/app/controllers/send_code_controller.rb
bugsnag-6.13.0 features/fixtures/rails4/app/app/controllers/send_code_controller.rb
bugsnag-6.13.0 features/fixtures/rails3/app/app/controllers/send_code_controller.rb
bugsnag-6.12.2 features/fixtures/rails3/app/app/controllers/send_code_controller.rb
bugsnag-6.12.2 features/fixtures/rails4/app/app/controllers/send_code_controller.rb
bugsnag-6.12.1 features/fixtures/rails3/app/app/controllers/send_code_controller.rb
bugsnag-6.12.1 features/fixtures/rails4/app/app/controllers/send_code_controller.rb
bugsnag-6.12.0 features/fixtures/rails3/app/app/controllers/send_code_controller.rb
bugsnag-6.12.0 features/fixtures/rails4/app/app/controllers/send_code_controller.rb
bugsnag-6.11.1 features/fixtures/rails3/app/app/controllers/send_code_controller.rb
bugsnag-6.11.1 features/fixtures/rails4/app/app/controllers/send_code_controller.rb
bugsnag-6.11.0 features/fixtures/rails3/app/app/controllers/send_code_controller.rb
bugsnag-6.11.0 features/fixtures/rails4/app/app/controllers/send_code_controller.rb
bugsnag-6.10.0 features/fixtures/rails3/app/app/controllers/send_code_controller.rb
bugsnag-6.10.0 features/fixtures/rails4/app/app/controllers/send_code_controller.rb