Method: Waxx::App#csrf_failure

Defined in:
lib/waxx/app.rb

#csrf_failure(x) ⇒ Object



53
54
55
# File 'lib/waxx/app.rb', line 53

def csrf_failure(x)
  error(x, status:400, type:"request", title:"Cross Site Request Forgery Error", message:"The request is missing the correct CSRF token.", args: [])
end