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-4.1.0.333 test/environments/rails21/app/controllers/application.rb
newrelic_rpm-4.1.0.333 test/environments/rails22/app/controllers/application.rb
newrelic_rpm-4.1.0.333 test/environments/rails23/app/controllers/application.rb
newrelic_rpm-4.0.0.332 test/environments/rails21/app/controllers/application.rb
newrelic_rpm-4.0.0.332 test/environments/rails23/app/controllers/application.rb
newrelic_rpm-4.0.0.332 test/environments/rails22/app/controllers/application.rb
newrelic_rpm-3.18.1.330 test/environments/rails21/app/controllers/application.rb
newrelic_rpm-3.18.1.330 test/environments/rails22/app/controllers/application.rb
newrelic_rpm-3.18.1.330 test/environments/rails23/app/controllers/application.rb
newrelic_rpm-3.18.0.329 test/environments/rails21/app/controllers/application.rb
newrelic_rpm-3.18.0.329 test/environments/rails23/app/controllers/application.rb
newrelic_rpm-3.18.0.329 test/environments/rails22/app/controllers/application.rb
newrelic_rpm-3.17.2.327 test/environments/rails22/app/controllers/application.rb
newrelic_rpm-3.17.2.327 test/environments/rails23/app/controllers/application.rb
newrelic_rpm-3.17.2.327 test/environments/rails21/app/controllers/application.rb
newrelic_rpm-3.17.1.326 test/environments/rails21/app/controllers/application.rb
newrelic_rpm-3.17.1.326 test/environments/rails22/app/controllers/application.rb
newrelic_rpm-3.17.1.326 test/environments/rails23/app/controllers/application.rb
newrelic_rpm-3.17.0.325 test/environments/rails22/app/controllers/application.rb
newrelic_rpm-3.17.0.325 test/environments/rails23/app/controllers/application.rb