Sha256: 38d67d8467b03287e4e71d5b3b9d9c22ad61e61b1514409589add3207ba8154f

Contents?: true

Size: 546 Bytes

Versions: 168

Compression:

Stored size: 546 Bytes

Contents

# encoding: utf-8
# This file is distributed under New Relic's license terms.
# See https://github.com/newrelic/rpm/blob/master/LICENSE for complete details.

class ApplicationController < ActionController::Base
  helper :all # include all helpers, all the time
  layout 'application'

  before_filter :check_error, :check_delay

  def check_error
    raise params[:error] if params[:error]
  end

  def check_delay
    sleep params[:delay].to_i if params[:delay]
  end

  protect_from_forgery # :secret => '59f202b6d73975dbcca68b23c3b3d543'
end

Version data entries

168 entries across 56 versions & 2 rubygems

Version Path
newrelic_rpm-3.17.0.325 test/environments/rails22/app/controllers/application.rb
newrelic_rpm-3.16.3.323 test/environments/rails22/app/controllers/application.rb
newrelic_rpm-3.16.3.323 test/environments/rails23/app/controllers/application.rb
newrelic_rpm-3.16.3.323 test/environments/rails21/app/controllers/application.rb
newrelic_rpm-3.16.2.321 test/environments/rails21/app/controllers/application.rb
newrelic_rpm-3.16.2.321 test/environments/rails22/app/controllers/application.rb
newrelic_rpm-3.16.2.321 test/environments/rails23/app/controllers/application.rb
newrelic_rpm-3.16.1.320 test/environments/rails21/app/controllers/application.rb
newrelic_rpm-3.16.1.320 test/environments/rails22/app/controllers/application.rb
newrelic_rpm-3.16.1.320 test/environments/rails23/app/controllers/application.rb
newrelic_rpm-3.16.0.318 test/environments/rails23/app/controllers/application.rb
newrelic_rpm-3.16.0.318 test/environments/rails21/app/controllers/application.rb
newrelic_rpm-3.16.0.318 test/environments/rails22/app/controllers/application.rb
ish_lib_manager-0.0.1 test/dummy/vendor/bundle/ruby/2.3.0/gems/newrelic_rpm-3.15.2.317/test/environments/rails23/app/controllers/application.rb
ish_lib_manager-0.0.1 test/dummy/vendor/bundle/ruby/2.3.0/gems/newrelic_rpm-3.15.2.317/test/environments/rails21/app/controllers/application.rb
ish_lib_manager-0.0.1 test/dummy/vendor/bundle/ruby/2.3.0/gems/newrelic_rpm-3.15.2.317/test/environments/rails22/app/controllers/application.rb
newrelic_rpm-3.15.2.317 test/environments/rails23/app/controllers/application.rb
newrelic_rpm-3.15.2.317 test/environments/rails22/app/controllers/application.rb
newrelic_rpm-3.15.2.317 test/environments/rails21/app/controllers/application.rb
newrelic_rpm-3.15.1.316 test/environments/rails23/app/controllers/application.rb