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.4.1 spec_app/app/controllers/application_controller.rb
upjs-rails-0.4.0 spec_app/app/controllers/application_controller.rb
upjs-rails-0.3.3 spec_app/app/controllers/application_controller.rb
upjs-rails-0.3.2 spec_app/app/controllers/application_controller.rb
upjs-rails-0.3.0 spec_app/app/controllers/application_controller.rb
upjs-rails-0.2.2 spec_app/app/controllers/application_controller.rb
upjs-rails-0.2.1 spec_app/app/controllers/application_controller.rb
upjs-rails-0.2.0 spec_app/app/controllers/application_controller.rb
upjs-rails-0.1.0 spec_app/app/controllers/application_controller.rb