Sha256: 9e5682211ce58aa045786b8594e112ea593103b6e6c70be18dfc59a7babb563b
Contents?: true
Size: 237 Bytes
Versions: 4
Compression:
Stored size: 237 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 def view_assigns {} end end
Version data entries
4 entries across 4 versions & 1 rubygems