Sha256: ba6b762e7e22c25ce937c93dfcf7af5c3a5fe6dc7d8c6c235d0a14e646aa246c

Contents?: true

Size: 308 Bytes

Versions: 49

Compression:

Stored size: 308 Bytes

Contents

class ApplicationController < ActionController::Base
  # Prevent CSRF attacks by raising an exception.
  # For APIs, you may want to use :null_session instead.
  protect_from_forgery with: :exception

  before_filter :delay_response

  private

  def delay_response
    sleep Tests.response_delay
  end

end

Version data entries

49 entries across 49 versions & 1 rubygems

Version Path
upjs-rails-0.14.0 spec_app/app/controllers/application_controller.rb
upjs-rails-0.13.0 spec_app/app/controllers/application_controller.rb
upjs-rails-0.12.5 spec_app/app/controllers/application_controller.rb
upjs-rails-0.12.4 spec_app/app/controllers/application_controller.rb
upjs-rails-0.12.3 spec_app/app/controllers/application_controller.rb
upjs-rails-0.12.2 spec_app/app/controllers/application_controller.rb
upjs-rails-0.12.1 spec_app/app/controllers/application_controller.rb
upjs-rails-0.12.0 spec_app/app/controllers/application_controller.rb
upjs-rails-0.11.1 spec_app/app/controllers/application_controller.rb
upjs-rails-0.11.0 spec_app/app/controllers/application_controller.rb
upjs-rails-0.10.5 spec_app/app/controllers/application_controller.rb
upjs-rails-0.10.4 spec_app/app/controllers/application_controller.rb
upjs-rails-0.10.3 spec_app/app/controllers/application_controller.rb
upjs-rails-0.10.2 spec_app/app/controllers/application_controller.rb
upjs-rails-0.10.1 spec_app/app/controllers/application_controller.rb
upjs-rails-0.10.0 spec_app/app/controllers/application_controller.rb
upjs-rails-0.9.1 spec_app/app/controllers/application_controller.rb
upjs-rails-0.9.0 spec_app/app/controllers/application_controller.rb
upjs-rails-0.8.2 spec_app/app/controllers/application_controller.rb
upjs-rails-0.8.1 spec_app/app/controllers/application_controller.rb