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