Module: Cuba::Safe::CSRF

Defined in:
lib/cuba/safe/csrf.rb

Defined Under Namespace

Classes: Helper

Instance Method Summary collapse

Instance Method Details

#csrfObject


4
5
6
# File 'lib/cuba/safe/csrf.rb', line 4

def csrf
  @csrf ||= Cuba::Safe::CSRF::Helper.new(req)
end