Sha256: e073707c0b07f512af9111d058976fbf3616f35b7b5df0f5ad55faaf09c4518e
Contents?: true
Size: 307 Bytes
Versions: 8
Compression:
Stored size: 307 Bytes
Contents
class ApplicationController < ActionController::Base # rescue_from Exception, :with => :error_generic # Prevent CSRF attacks by raising an exception. # For APIs, you may want to use :null_session instead. protect_from_forgery with: :exception # def error_generic(ex) # binding.pry # end end
Version data entries
8 entries across 8 versions & 1 rubygems