Sha256: e610acf0e231fcb8b41ddcd5fe0c75cd7b1d77f76b4fa2526b3ef6bca1f55a25

Contents?: true

Size: 310 Bytes

Versions: 19

Compression:

Stored size: 310 Bytes

Contents

class AppTypeController < ActionController::Base
  protect_from_forgery

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

  def after
    Bugsnag.configure do |conf|
      conf.app_type = params[:type]
    end
    Bugsnag.notify("handled string")
    render json: {}
  end
end

Version data entries

19 entries across 12 versions & 1 rubygems

Version Path
bugsnag-6.15.0 features/fixtures/rails6/app/app/controllers/app_type_controller.rb
bugsnag-6.15.0 features/fixtures/rails5/app/app/controllers/app_type_controller.rb
bugsnag-6.14.0 features/fixtures/rails6/app/app/controllers/app_type_controller.rb
bugsnag-6.14.0 features/fixtures/rails5/app/app/controllers/app_type_controller.rb
bugsnag-6.13.1 features/fixtures/rails6/app/app/controllers/app_type_controller.rb
bugsnag-6.13.1 features/fixtures/rails5/app/app/controllers/app_type_controller.rb
bugsnag-6.13.0 features/fixtures/rails5/app/app/controllers/app_type_controller.rb
bugsnag-6.13.0 features/fixtures/rails6/app/app/controllers/app_type_controller.rb
bugsnag-6.12.2 features/fixtures/rails5/app/app/controllers/app_type_controller.rb
bugsnag-6.12.2 features/fixtures/rails6/app/app/controllers/app_type_controller.rb
bugsnag-6.12.1 features/fixtures/rails6/app/app/controllers/app_type_controller.rb
bugsnag-6.12.1 features/fixtures/rails5/app/app/controllers/app_type_controller.rb
bugsnag-6.12.0 features/fixtures/rails5/app/app/controllers/app_type_controller.rb
bugsnag-6.12.0 features/fixtures/rails6/app/app/controllers/app_type_controller.rb
bugsnag-6.11.1 features/fixtures/rails5/app/app/controllers/app_type_controller.rb
bugsnag-6.11.0 features/fixtures/rails5/app/app/controllers/app_type_controller.rb
bugsnag-6.10.0 features/fixtures/rails5/app/app/controllers/app_type_controller.rb
bugsnag-6.9.0 features/fixtures/rails5/app/app/controllers/app_type_controller.rb
bugsnag-6.8.0 features/fixtures/rails5/app/app/controllers/app_type_controller.rb