Sha256: 170dc16d5ec6111ed7ccc68073fcad9e11c621aa1039c753c3427cc3bbcca107
Contents?: true
Size: 249 Bytes
Versions: 1
Compression:
Stored size: 249 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 current_ability Ability.new end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
flyboy-1.1.0 | spec/dummy/app/controllers/application_controller.rb |