Sha256: ae3eb8ebf87a0dc7dbf398439776f5630fc8a49229c9a4503273ad2e58bfe669
Contents?: true
Size: 382 Bytes
Versions: 10
Compression:
Stored size: 382 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 include CMS::Localize include CMS::Editing include CMS::Authenticate include CMS::Logger include CMS::Rescue def paper_trail_enabled_for_controller false end end
Version data entries
10 entries across 10 versions & 2 rubygems