Sha256: ab80f7af5b1fd1b74d354b3320ecb05d3e998db8b2f444ad1a577f71ea1ad94a
Contents?: true
Size: 278 Bytes
Versions: 7
Compression:
Stored size: 278 Bytes
Contents
class ApplicationController < ActionController::<%= options[:api] ? "API" : "Base" %> <%- unless options[:api] -%> # Prevent CSRF attacks by raising an exception. # For APIs, you may want to use :null_session instead. protect_from_forgery with: :exception <%- end -%> end
Version data entries
7 entries across 7 versions & 1 rubygems