Sha256: b01fa0830cbc74e3c3d3300f7a057d7d381049dcf794af03bf88c4cb8ec32edc
Contents?: true
Size: 379 Bytes
Versions: 1
Compression:
Stored size: 379 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 if Authentication.authentication_required? http_basic_authenticate_with name: Authentication.credentials[:user], password: Authentication.credentials[:password] end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
redis_monitor-0.2 | lib/engine/app/controllers/application_controller.rb |