Sha256: af25d12422e52c0eb3c689635faeae34e7e55354c48dba2e8957456f28feecea

Contents?: true

Size: 288 Bytes

Versions: 3

Compression:

Stored size: 288 Bytes

Contents

require 'msip/application_controller'
class ApplicationController < Msip::ApplicationController
  include Turbo::Redirection
  # Previente ataques CSRF elevando una excepción
  # En el caso de APIs, en cambio puedes querer usar :null_session
  protect_from_forgery with: :exception
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
msip-2.2.0.alfa3 test/dummy/app/controllers/application_controller.rb
msip-2.2.0.alfa2 test/dummy/app/controllers/application_controller.rb
msip-2.2a2 test/dummy/app/controllers/application_controller.rb