Sha256: 21a3f0c26d64d236e263de406a125923aad16f181195e234c3819a194f7b75e1
Contents?: true
Size: 418 Bytes
Versions: 1
Compression:
Stored size: 418 Bytes
Contents
#require "zetto/extension/action_controller_base" 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 Zetto::Extension::ActionControllerBase def cookies Test::Emulators::Cookie.new end def request Test::Emulators::Request.new end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
zetto-2.2.0 | spec/dummy/app/controllers/application_controller.rb |